Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pedrogabriel/github-action-backblaze-upload
Upload file or folder to backblaze b2
https://github.com/pedrogabriel/github-action-backblaze-upload
Last synced: about 1 month ago
JSON representation
Upload file or folder to backblaze b2
- Host: GitHub
- URL: https://github.com/pedrogabriel/github-action-backblaze-upload
- Owner: PedroGabriel
- Created: 2021-10-31T23:07:44.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-01T07:03:13.000Z (about 3 years ago)
- Last Synced: 2024-12-01T05:36:57.873Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 697 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backblaze B2 upload action
GitHub Action to upload files or folders to Backblaze B2
`file_input` can be a directory, all files gonna be uploaded recursively and use the `file_output` as relative path.
If `file_input` is a directory, make the `file_output` a directory too
```yaml
jobs:
upload-to-backblaze-b2:
runs-on: ubuntu-lateststeps:
- uses: actions/checkout@v2- uses: PedroGabriel/[email protected]
with:
key_id: 'fnaufhaihfaifh'
application_key: 'djsaifhasufgsaf'
bucket: 'Bucket ID, not name'
file_input: '/home/user/my/file/path.ext or C:\my\file\path.ext'
file_output: 'some_folder_inside_root/some_subfolder/final_folder/file.ext'
```