bitovi/Deploy Static Files to GCP Storage

Creates a storage bucket in GCP and uploads files to it.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Jan 28, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: bitovi/github-actions-gcp-bucket@a192725827fde9caf864665c85561648ecee08a2 # v1.0.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
checkoutSpecifies if this action should checkout the codenotrue
bucket_nameGCP Storage bucket to use. Defaults to `${org}-${repo}-{branch}-bucket`no
file_nameThe name of the file(s) to upload to the bucket. Wildcards supported. Duplicate Files will be overwritten.yes
gcp_access_keyGCP Service Account Key JSON set as GOOGLE_CREDENTIALS secret.yes
dot_env`.env` file to be used with the app from Github secretsno
ghv_env`.env` file to be used with the app from Github variablesno
bucket_destroySet to 'true' to Destroy the bucket and all child files.nofalse
namedescription
file_urlThe URL of the file(s) uploaded.