Skip to content

Commit

Permalink
Merge pull request #84 from FullStackWithLawrence/next
Browse files Browse the repository at this point in the history
Add git pull after checking out dev branch
  • Loading branch information
lpm0073 authored Nov 17, 2023
2 parents f4ae73a + a1db839 commit 830489b
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 830489b

Please sign in to comment.