Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robingenz/action-firebase-cloud-storage-upload
🤖 GitHub Action to upload files to Firebase Cloud Storage.
https://github.com/robingenz/action-firebase-cloud-storage-upload
actions firebase firebase-storage
Last synced: 27 days ago
JSON representation
🤖 GitHub Action to upload files to Firebase Cloud Storage.
- Host: GitHub
- URL: https://github.com/robingenz/action-firebase-cloud-storage-upload
- Owner: robingenz
- License: mit
- Created: 2024-04-19T06:29:51.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-20T15:25:21.000Z (7 months ago)
- Last Synced: 2024-04-20T17:05:04.619Z (7 months ago)
- Topics: actions, firebase, firebase-storage
- Language: JavaScript
- Homepage:
- Size: 834 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# action-firebase-cloud-storage-upload
GitHub Action to upload a file to [Firebase Cloud Storage](https://firebase.google.com/products/storage).
## Usage
```yaml
- uses: robingenz/[email protected]
with:
# The destination path in Firebase Cloud Storage.
# Required.
destination: ''
# The Firebase service account key in JSON format.
# Required.
firebaseServiceAccountKey: ''
# The path to the file that should be uploaded.
# Required.
path: ''
# The storage bucket name.
# Required.
storageBucket: ''
```## Example
```yaml
name: Upload file to Firebase Cloud Storage
on:
push:
branches:
- main
jobs:
uplaod-file:
runs-on: ubuntu-latest
steps:
- name: Upload file to Firebase Cloud Storage
uses: robingenz/[email protected]
id: upload-action
with:
destination: 'test/README.md'
firebaseServiceAccountKey: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KEY }}
path: 'README.md'
storageBucket: 'my-bucket.appspot.com'
- name: Print download URL
run: echo ${{ steps.upload-action.outputs.downloadUrl }}
```## License
See [LICENSE](./LICENSE).
[^1]: This project is not affiliated with, endorsed by, sponsored by, or approved by Google LLC or any of their affiliates or subsidiaries.