From 0f3a10d9f03a3a0e2cdb0d3359bc64411703511a Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Mon, 26 Feb 2024 15:35:07 +0000 Subject: [PATCH] Re-enable deploy workflow --- .github/workflows/deploy.yml | 38 ++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7c695d0..b7a1a93 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,19 +1,19 @@ -#name: Deploy Main to Staging -#on: -# push: -# branches: -# - "main" -#jobs: -# call_build_and_push: -# uses: ./.github/workflows/build.yml -# with: -# image_name: ${{ github.repository }} -# image_tag: main -# secrets: inherit -# deploy: -# needs: [call_build_and_push] -# uses: ./.github/workflows/_update_terraform.yml -# with: -# image_tag: main -# deployment_environment: staging -# secrets: inherit +name: Deploy Main to Staging +on: + push: + branches: + - "main" +jobs: + call_build_and_push: + uses: ./.github/workflows/build.yml + with: + image_name: ${{ github.repository }} + image_tag: main + secrets: inherit + deploy: + needs: [call_build_and_push] + uses: ./.github/workflows/_update_terraform.yml + with: + image_tag: main + deployment_environment: staging + secrets: inherit