actions-marketplace-validations/Previews

Github Action used to deploy preview environments, to Google Cloud Run.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Feb 21, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/joggrdocs_previews@7d37a9f45326b4f324fb35bc8e51d093af50f852 # no releases — HEAD as of 2026-07-10

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

namedescriptionrequireddefault
nameThe name of the service (must be unique) to be deployed. This cannot exceed 24 charactersyes
portThe port that the application will run on in the container.no8080
service_accountThe service account to be used for the Cloud Run service.no
env_varsList of environment variables that will be injected during runtime, each on a new line.no
secretsList of secrets that will be injected during runtime, each on a new line.no
flagsList of flags that will be injected during runtime.no
gcp_regionThe GCP Region where the service will be deployed.nous-central1
gcp_project_idThe GCP Project ID where the service will be deployed.nodurable-primacy-268722
gcp_service_account_keyThe Service Account JSON Key used to push images to the GCP Artifact Registry.yes
gcp_artifact_repositoryThe Artifact Registry name, you can override for custom names (i.e. the 'acme' in us-docker.pkg.dev/able-sailor-21423/acme)yes
gcp_tagA tag to be applied to the Cloud Run service, used for ingress or other permissions.notagValues/281479867842234
github_tokenGithub Token, pass in the `secrets.GITHUB_TOKEN`.yes
docker_file_nameThe Dockerfile name, you can override for custom names (i.e. DevDockerfile)noDockerfile
docker_directoryDirectory where the DockerFile is located.no.
docker_build_argsComma separated list of arguments that will be injected during the build, each on a new line.no
namedescription
urlThe preview URL for the running application