From 5a1caa526f2f6ad72f30ceaf66719a4b46c1374c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20Bj=C3=A4rkefur?= Date: Mon, 17 Jun 2024 10:30:56 -0400 Subject: [PATCH] Update build_adodown_site.yaml --- .github/workflows/build_adodown_site.yaml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_adodown_site.yaml b/.github/workflows/build_adodown_site.yaml index 882628a..f28330b 100644 --- a/.github/workflows/build_adodown_site.yaml +++ b/.github/workflows/build_adodown_site.yaml @@ -61,10 +61,13 @@ jobs: run: adodownr::build_site(pkg_dir = here::here(), site_dir = here::here()) shell: Rscript {0} - - name: Deploy to GitHub pages - uses: JamesIves/github-pages-deploy-action@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 with: - clean: false - folder: docs - branch: gh-pages - target-folder: docs + # Upload entire repository + path: '/docs' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4