From 7d84b3ec7f2fcae8efff622405a0f9ff59130586 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 18 Jun 2022 19:47:03 -0400 Subject: [PATCH] Attempt to sync staging branch (#2) --- .github/workflows/sync-staging-branch.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-staging-branch.yml b/.github/workflows/sync-staging-branch.yml index 06b7a9051f..350c3cbb3a 100644 --- a/.github/workflows/sync-staging-branch.yml +++ b/.github/workflows/sync-staging-branch.yml @@ -17,7 +17,9 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git fetch master staging:staging + #git fetch master staging:staging + git branch -D staging + git checkout -b staging git commit -m "Syncing staging with master" - name: Push changes #push files into master branch uses: ad-m/github-push-action@master