Skip to content

Merge pull request #8 from unkcpz/staging #1

Merge pull request #8 from unkcpz/staging

Merge pull request #8 from unkcpz/staging #1

Workflow file for this run

---
name: sync-staging
on:
push:
branches:
- main
jobs:
# after main updated (merge from staging), sync staging to main
sync-staging:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure Git
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email ""
- name: Update Test Branch
run: |
git checkout main
git fetch origin
git checkout staging
git pull
git merge origin/main
git push origin staging