Skip to content

Commit

Permalink
Where are these files?
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Jun 26, 2024
1 parent fd707aa commit 0f7d437
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/render-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ jobs:
git remote set-url origin https://${GH_PAT}@github.com/${GITHUB_REPOSITORY}
git fetch origin
git pull --rebase --allow-unrelated-histories --strategy-option=ours
rm -rf docs/*
# Run Rmd rendering
- name: Run bookdown render
id: bookdown
if: ${{needs.yaml-check.outputs.toggle_website == 'rmd' }}
run: |
rm -rf docs/*
Rscript -e "bookdown::render_book('index.Rmd', output_format = 'all');
file.copy(from = 'assets', to = 'docs/assets', overwrite = TRUE)"
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
run: |
git add --force docs/*
git commit -m 'Render course' || echo "No changes to commit"
git status
git status docs/*
git push -u origin main || echo "No changes to push"
render-tocless:
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
run: |
git add --force docs/no_toc*
git commit -m 'Render toc-less' || echo "No changes to commit"
git status
git status docs/no_toc*
git push -u origin main || echo "No changes to push"
render-leanpub:
Expand All @@ -174,6 +174,7 @@ jobs:
git remote set-url origin https://${GH_PAT}@github.com/${GITHUB_REPOSITORY}
git fetch origin
git pull --rebase --allow-unrelated-histories --strategy-option=ours
ls docs/no_toc
# Create screenshots
- name: Run the screenshot creation
Expand All @@ -196,7 +197,6 @@ jobs:
rm -rf manuscript/
git add .
git commit -m 'Delete manuscript folder' || echo "No changes to commit"
git status
git push -u origin main || echo "No changes to push"
- name: Run ottrpal::bookdown_to_embed_leanpub
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
git add --force resources/*
git add --force docs/*
git commit -m 'Render Leanpub' || echo "No changes to commit"
git status
git status docs/*
git pull --rebase --allow-unrelated-histories --strategy-option=ours --autostash
git push --force --set-upstream origin main || echo "No changes to push"
Expand Down

0 comments on commit 0f7d437

Please sign in to comment.