Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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-latest

steps:
- 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'
```