added job to switch to the development branch
This commit is contained in:
parent
9b1e0c6e2d
commit
2d4285a4ae
1 changed files with 10 additions and 0 deletions
10
.github/workflows/main_deploy.yaml
vendored
10
.github/workflows/main_deploy.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue