From 6d3b56baa750d61b4b69fc922af940475eb30c6e Mon Sep 17 00:00:00 2001 From: maxmwang Date: Fri, 16 Aug 2024 03:04:37 -0700 Subject: [PATCH] test environment placement --- .github/workflows/cd-prod.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/cd-prod.yaml b/.github/workflows/cd-prod.yaml index a8bbdec43..d2be3e225 100644 --- a/.github/workflows/cd-prod.yaml +++ b/.github/workflows/cd-prod.yaml @@ -9,15 +9,6 @@ env: artifact-retention-days: 7 jobs: - branch-check: - name: Check Branch - runs-on: ubuntu-latest - environment: prod - - steps: - - name: Pass - run: echo "Passed check" - build-backend: name: Build Backend Image needs: branch-check @@ -66,6 +57,7 @@ jobs: name: Push Backend Image needs: build-backend runs-on: ubuntu-latest + environment: prod steps: - name: Login to Docker Hub