From 183538024253264bfaa7acbc4b953a7729a83da2 Mon Sep 17 00:00:00 2001 From: Bernt Popp Date: Wed, 20 Dec 2023 12:15:05 +0100 Subject: [PATCH] fix: rename build folder --- .github/workflows/gh-pages.yml | 10 +++++----- edit_docs/_bookdown.yml | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 0a4bd12..ccae5ae 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -53,8 +53,8 @@ jobs: run: Rscript -e 'bookdown::render_book("index.Rmd", "all")' - uses: actions/upload-artifact@v4 with: - name: docs - path: docs/ + name: build + path: build/ checkout-and-deploy: runs-on: ubuntu-20.04 needs: bookdown @@ -65,13 +65,13 @@ jobs: uses: actions/download-artifact@v4 with: # Artifact name - name: docs # optional + name: build # optional # Destination path - path: docs/ # optional + path: build/ # optional - name: Deploy to GitHub Pages uses: Cecilapp/GitHub-Pages-deploy@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - build_dir: docs + build_dir: build branch: gh-pages \ No newline at end of file diff --git a/edit_docs/_bookdown.yml b/edit_docs/_bookdown.yml index c6496c6..8a3d05c 100644 --- a/edit_docs/_bookdown.yml +++ b/edit_docs/_bookdown.yml @@ -20,4 +20,4 @@ download: - ["KidneyGenetics_documentation.docx", "DOCX"] view: https://github.com/halbritter-lab/kidney-genetics/tree/master/docs/%s edit: https://github.com/halbritter-lab/kidney-genetics/tree/master/edit_docs/%s -output_dir: "docs" \ No newline at end of file +output_dir: "build" \ No newline at end of file