Merge pull request #580 from pangeachat/switch-staging-branch
Switch staging branch
This commit is contained in:
commit
c263e7b872
1 changed files with 11 additions and 1 deletions
12
.github/workflows/main_deploy.yaml
vendored
12
.github/workflows/main_deploy.yaml
vendored
|
|
@ -3,13 +3,23 @@ name: Main Deploy Workflow
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
workflow_dispatch:
|
||||
|
||||
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