diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 23a8afc..e0b8e1a 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -2,12 +2,14 @@ on: push: branches: - main + tags: + -'*' name: pkgdown jobs: pkgdown: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 env: RSPM: https://packagemanager.rstudio.com/cran/__linux__/bionic/latest GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} @@ -18,7 +20,7 @@ jobs: - uses: r-lib/actions/setup-r@v2 id: install-r - - uses: r-lib/actions/setup-pandoc@v2 + - uses: r-lib/actions/setup-pandoc@v1 - name: Install pak and query dependencies run: | @@ -32,8 +34,8 @@ jobs: path: | ${{ env.R_LIBS_USER }}/* !${{ env.R_LIBS_USER }}/pak - key: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }} - restore-keys: ubuntu-18.04-${{ steps.install-r.outputs.installed-r-version }}-1- + key: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1-${{ hashFiles('.github/r-depends.rds') }} + restore-keys: ubuntu-20.04-${{ steps.install-r.outputs.installed-r-version }}-1- - name: Install system dependencies if: runner.os == 'Linux' @@ -55,4 +57,4 @@ jobs: run: | git config --local user.name "$GITHUB_ACTOR" git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" - Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' + Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)' \ No newline at end of file