Skip to content

Commit

Permalink
ci: cd run terraform (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alxandr authored Oct 10, 2024
1 parent 45b370d commit a5ef5a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/_deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ on:
description: Path to the app
type: string

infra:
description: Whether to deploy infra
type: boolean
default: false

terraform:
description: Whether to deploy terraform
type: boolean
Expand Down Expand Up @@ -75,7 +70,7 @@ jobs:
echo "Tag: ${TAG}"
deploy-terraform:
name: Deploy infra
name: Run terraform deployment

if: inputs.terraform

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cd-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ jobs:
with:
path: ${{ matrix.path }}
name: ${{ matrix.name }}
terraform: ${{ matrix.terraform }}
terraformStateFile: ${{ matrix.terraformStateFile }}

0 comments on commit a5ef5a4

Please sign in to comment.