Skip to content

Commit

Permalink
chore: add git pull after checking out dev branch
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Nov 17, 2023
1 parent 964fc0f commit a1db839
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pushMain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
git checkout main
git pull
git checkout next
git pull
git merge --allow-unrelated-histories main
git push https://${{ env.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:next
Expand All @@ -44,6 +45,7 @@ jobs:
git checkout main
git pull
git checkout next-major
git pull
git merge --allow-unrelated-histories main
git push https://${{ env.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:next-major
Expand All @@ -56,6 +58,7 @@ jobs:
git checkout main
git pull
git checkout alpha
git pull
git merge --allow-unrelated-histories main
git push https://${{ env.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:alpha
Expand All @@ -68,6 +71,7 @@ jobs:
git checkout main
git pull
git checkout beta
git pull
git merge --allow-unrelated-histories main
git push https://${{ env.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git HEAD:beta
Expand Down

0 comments on commit a1db839

Please sign in to comment.