A GitHub Action to deploy to Dropbox
Follow this guide to create and get your access token.
Save the token to your repository Settings > Secrets:
- Name:
DROPBOX_ACCESS_TOKEN - Value:
YOUR_TOKEN_FROM_DROPBOX_APP_CONSOLE
In your workflow add the following code:
- name: Upload to Dropbox uses: rensatsu/deploy-to-dropbox@master with: DROPBOX_ACCESS_TOKEN: ${{ secrets.DROPBOX_ACCESS_TOKEN }} GLOB: dist/* FILE_WRITE_MODE: overwriteDROPBOX_ACCESS_TOKEN- Access token for Dropbox.GLOB- Glob pattern of files to upload.FILE_WRITE_MODE- Set file write mode when conflict occurs. Allowed modes: "add", "overwrite", "update".
Head over to action.yml for more information about variables.
To properly bump version:
npm run tag:patch && git push --follow-tagsThis action uses "Step Debug Logs" for debug output. You can enable debug output by creating a new secret variable ACTIONS_STEP_DEBUG with value true. Click here for more details.