From 405532afc72bb7a96354ffbd406c18d6b5646b04 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Thu, 7 Nov 2024 11:18:44 -0500 Subject: [PATCH] Update render-all.yml with a force push of docs (#777) --- .github/workflows/render-all.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"