diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 5a7f12a..d15e912 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -37,4 +37,12 @@ jobs: - name: Build site run: pkgdown::build_site_github_pages(new_process = TRUE, install = TRUE) - shell: Rscript {0} \ No newline at end of file + shell: Rscript {0} + + - name: Deploy to GitHub pages 🚀 + if: github.event_name != 'pull_request' + uses: JamesIves/github-pages-deploy-action@v4.4.1 + with: + clean: false + branch: gh-pages + folder: docs