From 60d2cdc2163f05532548b5d05910e62bd12f1930 Mon Sep 17 00:00:00 2001 From: aloftus23 Date: Fri, 15 Nov 2024 09:39:58 -0500 Subject: [PATCH] Re-add the terraform apply --- .github/workflows/infrastructure.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/infrastructure.yml b/.github/workflows/infrastructure.yml index 1bfb1326..1148ac47 100644 --- a/.github/workflows/infrastructure.yml +++ b/.github/workflows/infrastructure.yml @@ -109,12 +109,12 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - # - name: Terraform apply - # if: github.ref == 'refs/heads/production' - # run: terraform apply prod.plan - # env: - # AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - # AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + - name: Terraform apply + if: github.ref == 'refs/heads/production' + run: terraform apply prod.plan + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - if: ${{ always() }} run: rm prod.plan || true