This uploads a file to Dropbox
See action.yml
Generate access token that has files.content.write
permission on App Console.
Save the token as DROPBOX_ACCESS_TOKEN
on your repository Secrets.
- uses: deka0106/upload-to-dropbox@v2
with:
dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
src: dist/paper.pdf
dest: /thesis/
- uses: deka0106/upload-to-dropbox@v2
with:
dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
src: dist/paper.pdf
dest: /thesis/
mode: overwrite
- uses: deka0106/upload-to-dropbox@v2
with:
dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
src: dist/paper.pdf
dest: /thesis/my-thesis.pdf
- uses: deka0106/upload-to-dropbox@v2
with:
dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
src: dist/**/*
dest: /dest/
multiple: true