bitovi/Deploy Static Files to GCP Storage
Creates a storage bucket in GCP and uploads files to it.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 28, 2025
- License
- MIT
Pinned Snippet
uses: bitovi/github-actions-gcp-bucket@a192725827fde9caf864665c85561648ecee08a2 # v1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| checkout | Specifies if this action should checkout the code | no | true |
| bucket_name | GCP Storage bucket to use. Defaults to `${org}-${repo}-{branch}-bucket` | no | — |
| file_name | The name of the file(s) to upload to the bucket. Wildcards supported. Duplicate Files will be overwritten. | yes | — |
| gcp_access_key | GCP Service Account Key JSON set as GOOGLE_CREDENTIALS secret. | yes | — |
| dot_env | `.env` file to be used with the app from Github secrets | no | — |
| ghv_env | `.env` file to be used with the app from Github variables | no | — |
| bucket_destroy | Set to 'true' to Destroy the bucket and all child files. | no | false |
Outputs
| name | description |
|---|---|
| file_url | The URL of the file(s) uploaded. |