Skip to content

Upload to Dropbox

Actions
Upload files to Dropbox
v2.0.0
Latest
Star (9)

Tags

 (1)

Upload to Dropbox

This uploads a file to Dropbox

Usage

See action.yml

Setup

Generate access token that has files.content.write permission on App Console.

Save the token as DROPBOX_ACCESS_TOKEN on your repository Secrets.

Upload a file

- uses: deka0106/upload-to-dropbox@v2
  with:
    dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
    src: dist/paper.pdf
    dest: /thesis/

Upload a file with overwrite mode

- uses: deka0106/upload-to-dropbox@v2
  with:
    dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
    src: dist/paper.pdf
    dest: /thesis/
    mode: overwrite

Upload a file with specified name

- uses: deka0106/upload-to-dropbox@v2
  with:
    dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
    src: dist/paper.pdf
    dest: /thesis/my-thesis.pdf

Upload multiple files

- uses: deka0106/upload-to-dropbox@v2
  with:
    dropbox_access_token: ${{ secrets.DROPBOX_ACCESS_TOKEN }}
    src: dist/**/*
    dest: /dest/
    multiple: true

Upload to Dropbox is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Upload files to Dropbox
v2.0.0
Latest

Tags

 (1)

Upload to Dropbox is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.