From 2d4285a4ae68dfc3aea1f551c520cabfacebd88c Mon Sep 17 00:00:00 2001 From: ggurdin Date: Wed, 14 Aug 2024 11:37:11 -0400 Subject: [PATCH] added job to switch to the development branch --- .github/workflows/main_deploy.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/main_deploy.yaml b/.github/workflows/main_deploy.yaml index 8bd45dc23..9439b75ad 100644 --- a/.github/workflows/main_deploy.yaml +++ b/.github/workflows/main_deploy.yaml @@ -10,6 +10,16 @@ env: WEB_APP_ENV: ${{ vars.WEB_APP_ENV }} jobs: + switch-branch: + runs-on: ubuntu-latest + + steps: + - name: Checkout main branch + uses: actions/checkout@v3 + + - name: Checkout different branch + run: git checkout development + build_web: runs-on: ubuntu-latest environment: staging