Skip to content

Commit

Permalink
Update render-all.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy authored Jun 26, 2024
1 parent ac2be88 commit b227f00
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/render-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ jobs:
git fetch origin
git add --force docs/*
git commit -m 'Render course' || echo "No changes to commit"
git pull --rebase --allow-unrelated-histories --strategy-option=ours
git pull --rebase --allow-unrelated-histories --strategy-option=ours --autostash
git status
git push -u origin main || echo "No changes to push"
render-tocless:
Expand Down Expand Up @@ -145,7 +146,8 @@ jobs:
git fetch origin
git add --force docs/no_toc*
git commit -m 'Render toc-less' || echo "No changes to commit"
git pull --rebase --allow-unrelated-histories --strategy-option=ours
git pull --rebase --allow-unrelated-histories --strategy-option=ours --autostash
git status
git push -u origin main || echo "No changes to push"
render-leanpub:
Expand Down Expand Up @@ -192,7 +194,8 @@ jobs:
git fetch origin
git add .
git commit -m 'Delete manuscript folder' || echo "No changes to commit"
git pull --rebase --allow-unrelated-histories --strategy-option=ours
git pull --rebase --allow-unrelated-histories --strategy-option=ours --autostash
git status
git push -u origin main || echo "No changes to push"
- name: Run ottrpal::bookdown_to_embed_leanpub
Expand Down Expand Up @@ -222,7 +225,8 @@ jobs:
git add --force resources/*
git add --force docs/*
git commit -m 'Render Leanpub' || echo "No changes to commit"
git pull --rebase --allow-unrelated-histories --strategy-option=ours
git status
git pull --rebase --allow-unrelated-histories --strategy-option=ours --autostash
git push --force --set-upstream origin main || echo "No changes to push"
render-coursera:
Expand Down Expand Up @@ -267,5 +271,6 @@ jobs:
git add --force resources/*
git add --force docs/*
git commit -m 'Render Coursera quizzes' || echo "No changes to commit"
git pull --rebase --allow-unrelated-histories --strategy-option=ours
git status
git pull --rebase --allow-unrelated-histories --strategy-option=ours --autostash
git push -u origin main || echo "No changes to push"

0 comments on commit b227f00

Please sign in to comment.