Skip to content

Commit

Permalink
iterate on staging sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinwheeler committed Jan 5, 2025
1 parent 91bc474 commit 4949650
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/sync-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,18 @@ jobs:
- name: Checkout main branch
uses: actions/checkout@v2
with:
ref: main
ref: staging

- name: Setup Git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Fetch all branches
run: git fetch --all

- name: Checkout staging branch
run: git checkout staging
- name: Fetch main branch
run: git fetch origin main

- name: Merge main into staging
run: git merge main --no-ff --no-edit
run: git merge origin/main --no-ff --no-edit

- name: Push changes to staging
run: git push origin staging
Expand Down

0 comments on commit 4949650

Please sign in to comment.