From 0f7d437829a9436a0927145a83dc3a5b234655f8 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Wed, 26 Jun 2024 11:04:55 -0400 Subject: [PATCH] Where are these files? --- .github/workflows/render-all.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index 8977263..cf12748 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -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)" @@ -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: @@ -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: @@ -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 @@ -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 @@ -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"