From feaa71265117335ae370b3c19224d7c4a541794b Mon Sep 17 00:00:00 2001 From: James Rollins <30132017+jamesmrollins@users.noreply.github.com> Date: Tue, 12 Mar 2024 07:23:44 -0700 Subject: [PATCH 1/2] Update renderbook.yml --- .github/workflows/renderbook.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renderbook.yml b/.github/workflows/renderbook.yml index ba701e5d..86080467 100644 --- a/.github/workflows/renderbook.yml +++ b/.github/workflows/renderbook.yml @@ -24,7 +24,7 @@ jobs: - name: Render Book run: | - Rscript -e 'bookdown::render_book("https://github.com/lzim/mtl/blob/feature-gh-pages_test_1/index.Rmd", "bookdown::gitbook", output_dir="docs")' + Rscript -e 'bookdown::render_book("index.Rmd", "bookdown::gitbook", output_dir="docs")' - uses: actions/upload-artifact@v1 with: name: docs From ba9727110c81a7204e7bdaf5177a99bb30bfcb9c Mon Sep 17 00:00:00 2001 From: James Rollins <30132017+jamesmrollins@users.noreply.github.com> Date: Tue, 12 Mar 2024 09:24:44 -0700 Subject: [PATCH 2/2] Update renderbook.yml --- .github/workflows/renderbook.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/renderbook.yml b/.github/workflows/renderbook.yml index 86080467..67ff72f0 100644 --- a/.github/workflows/renderbook.yml +++ b/.github/workflows/renderbook.yml @@ -1,7 +1,7 @@ on: pull_request: - branches: [ gh-pages ] - types: [ closed ] + branches: + types: name: renderbook