Skip to content

Commit

Permalink
Change to less nuclear solution
Browse files Browse the repository at this point in the history
  • Loading branch information
avahoffman committed Jun 4, 2024
1 parent bce732d commit 2d37cd4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/render-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ jobs:
git fetch origin
git add --force docs/*
git commit -m 'Render bookdown' || echo "No changes to commit"
git pull --rebase --allow-unrelated-histories --strategy-option=ours
git pull --allow-unrelated-histories --strategy-option=ours
git push -u origin main || echo "No changes to push"
render-tocless:
name: Render TOC-less version for Leanpub or Coursera
needs: [yaml-check]
needs: [render-bookdown]
runs-on: ubuntu-latest
container:
image: ${{needs.yaml-check.outputs.rendering_docker_image}}
Expand Down Expand Up @@ -122,12 +122,12 @@ 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 --allow-unrelated-histories --strategy-option=ours
git push -u origin main || echo "No changes to push"
render-leanpub:
name: Finish Leanpub prep
needs: [yaml-check, render-tocless]
needs: [render-tocless]
runs-on: ubuntu-latest
container:
image: jhudsl/ottrpal:main
Expand Down Expand Up @@ -199,12 +199,12 @@ 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 pull --allow-unrelated-histories --strategy-option=ours
git push --force --set-upstream origin main || echo "No changes to push"
render-coursera:
name: Finish Coursera prep
needs: [yaml-check, render-tocless]
needs: [render-tocless]
runs-on: ubuntu-latest
container:
image: ${{needs.yaml-check.outputs.rendering_docker_image}}
Expand Down Expand Up @@ -244,5 +244,5 @@ 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 pull --allow-unrelated-histories --strategy-option=ours
git push -u origin main || echo "No changes to push"

0 comments on commit 2d37cd4

Please sign in to comment.