Skip to content

Commit

Permalink
Iterating GH Action Sun Jan 5 09:23:45 PM EST 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
jadudm committed Jan 6, 2025
1 parent 8a8ddfa commit 2619bf1
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/deploy-to-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,23 @@ jobs:
# This fails because it relies on the `tfvars` file, which does
# not exist in CGov. We need to use the S3 backend.
- name: Run `make dev` (terraform init -> plan -> apply)
- name: TF init
run: |
pushd ${GITHUB_WORKSPACE}/terraform/${{ inputs.environment }}
terraform init -backend-config="./backend_${{ inputs.environment }}.config" || echo "Failed" && exit
make plan
make apply
popd
- name: TF plan
run: |
pushd ${GITHUB_WORKSPACE}/terraform/${{ inputs.environment }}
make plan
popd
- name: TF apply
run: |
pushd ${GITHUB_WORKSPACE}/terraform/${{ inputs.environment }}
make plan
popd

0 comments on commit 2619bf1

Please sign in to comment.