diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index e542467c..55ede15b 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -102,7 +102,7 @@ jobs: git add --force docs/* git commit -m 'Render course' || echo "No changes to commit" git status docs/* - git push -u origin main || echo "No changes to push" + git push --force -u origin main || echo "No changes to push" render-tocless: name: Render TOC-less version for Leanpub or Coursera @@ -150,7 +150,7 @@ jobs: git add --force docs/no_toc* git commit -m 'Render toc-less' || echo "No changes to commit" git status docs/no_toc* - git push -u origin main || echo "No changes to push" + git push --force -u origin main || echo "No changes to push" render-leanpub: name: Finish Leanpub prep @@ -277,4 +277,4 @@ jobs: git add --force docs/* git commit -m 'Render Coursera quizzes' || echo "No changes to commit" git status - git push -u origin main || echo "No changes to push" + git push --force -u origin main || echo "No changes to push"