You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`stack-dir`| The path to the application stack (e.g., `stacks/dev/app-km`) | yes |``n/a``|
16
-
|`environment`| The semantic name of the environment (e.g., `dev`, `prod`) | yes |``n/a``|
17
-
|`tag`| The tag of an artifact to deploy | no | ```` |
18
-
|`target-repository`| The name of the repository (e.g., `pirates-iac`) to checkout code from. Leave empty to skip checkout and use the current repository. | no |``${{ github.event.repository.name }}``|
19
-
|`github-app-id`| ID of GitHub App used to get read access to the repository containing IaC | yes |``n/a``|
20
-
|`github-app-private-key`| Private key of GitHub App used to get read access to the repository containing IaC | yes |``n/a``|
21
-
|`github-deploy-key`| Repository deploy key that grants read access to shared libraries (e.g., golden-path-iac) | yes |``n/a``|
|`stack-dir`|The path to the application stack (e.g., `stacks/dev/app-km`) |yes |``n/a``|
16
+
|`environment`|The type of environment (e.g., `dev`, `prod`). Must match environment in configuration file .gp.cicd.json. |yes |``n/a``|
17
+
|`tag`|The tag of an artifact to deploy |no |```` |
18
+
|`target-repository`|The name of the repository (e.g., `pirates-iac`) to checkout code from. Leave empty to skip checkout and use the current repository. |no |``${{ github.event.repository.name }}``|
19
+
|`github-app-id`|ID of GitHub App used to get read access to the repository containing IaC |no |``n/a``|
20
+
|`github-app-private-key`|Private key of GitHub App used to get read access to the repository containing IaC |no |``n/a``|
21
+
|`github-deploy-key`|Repository deploy key that grants read access to shared libraries (e.g., golden-path-iac) |yes |``n/a``|
22
+
|`send-deployment-event`|Whether to send an event to Datadog after successful deployment. By default this is only sent on default branch deployments, and it requires 'tag' to be set.|no |``${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}``|
23
+
|`cancel-if-stale`|Whether to cancel the workflow if a newer run has already progressed further than the current run. |no |``true``|
22
24
23
25
### Example
24
26
@@ -29,11 +31,13 @@ Deploy application through infrastructure
0 commit comments