diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml index 84beb91..039adbf 100644 --- a/.github/workflows/render-all.yml +++ b/.github/workflows/render-all.yml @@ -202,10 +202,12 @@ jobs: - name: Run ottrpal::bookdown_to_embed_leanpub if: needs.yaml-check.outputs.toggle_quiz_check == 'no' run: | + echo needs.yaml-check.outputs.toggle_make_book_txt == 'yes' + echo needs.yaml-check.outputs.toggle_make_book_txt Rscript -e "ottrpal::bookdown_to_embed_leanpub( render = FALSE, \ chapt_img_key = 'resources/chapt_screen_images/chapter_urls.tsv', \ - make_book_txt = as.logical('${{needs.yaml-check.outputs.toggle_leanpub == 'yes'}}'), \ + make_book_txt = as.logical('${{needs.yaml-check.outputs.toggle_make_book_txt == 'yes'}}'), \ quiz_dir = NULL)" - name: Run ottrpal::bookdown_to_embed_leanpub @@ -214,7 +216,7 @@ jobs: Rscript -e "ottrpal::bookdown_to_embed_leanpub( render = FALSE, \ chapt_img_key = 'resources/chapt_screen_images/chapter_urls.tsv', \ - make_book_txt = as.logical('${{needs.yaml-check.outputs.toggle_leanpub == 'yes'}}'))" + make_book_txt = as.logical('${{needs.yaml-check.outputs.toggle_make_book_txt == 'yes'}}'))" # Commit the rendered Leanpub files - name: Commit rendered Leanpub files