Merge pull request #580 from pangeachat/switch-staging-branch

Switch staging branch
This commit is contained in:
ggurdin 2024-08-14 11:37:59 -04:00 committed by GitHub
commit c263e7b872
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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