playable-video/Deploy TurboRepo NextJS App to Google App Engine
Deploy TurboRepo NextJS App to Google App Engine using a flexible nodejs runtime and yarn.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Apr 10, 2024
- License
- MIT
Pinned Snippet
uses: playable-video/turborepo-nextjs-gae-deployment@bda192b8f9747b7241640fccb4038fb22fb090cd # v1.0.14tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| apps_directory | Name of the directory where all of the monorepo apps are stored. You can specify a subdirectory relative to the root of the repository. Leave out this input if the apps are stored in the default "apps" directory. | no | apps |
| target_app | Name of the app to deploy. This should be the name of the directory where the app is stored. For instance, if the app is stored in "apps/my-app", then this value should be "my-app". This folder should contain the package.json file. | yes | — |
| gcloud_project_id | ID of the Google Cloud project. If provided, this will configure gcloud to use this project ID by default for commands. Individual commands can still override the project using the --project flag which takes precedence. | yes | — |
| gcloud_service_id | ID of the Google App Engine Project's service you wish to deploy to. By default, this is set to "default". If you are using a custom service, you can specify the service ID here. If you intend to use a custom app.yaml file, you should specify the service ID in that file instead. | no | — |
| gcloud_key_json | Service account key used to authenticate with Google Cloud. This key should be a JSON string that is minified to a single line and saved as a secret for your repository. See README for instructions on how to generate this JSON file from your Google Cloud Console. | yes | — |
| should_promote | Whether to promote the app and route all traffic to the new version. If set, the app will be promoted and all traffic will be routed to the new version. This is set to false by default. | no | false |
| autoname_version | Whether to automatically name the version based on the current branch that is being deployed. For example, if you are pushing on the "my-changes" branch, the version will be named "my-changes". This is set to false by default. Only works if there are no slashes in the branch name. | no | — |
| gcloudignore_path | Path to a custom .gcloudignore file. This file specifies which files to ignore when deploying to Google Cloud. If not provided, a .gcloudignore file will be generated. | no | — |
| app_yaml_path | Path to a custom app.yaml file. This file specifies the runtime configuration for the app. If not provided, a default app.yaml file will be generated. | no | — |
Outputs
no outputs