Skip to content

Update docker/metadata-action action to v5.6.1 - autoclosed #77

Update docker/metadata-action action to v5.6.1 - autoclosed

Update docker/metadata-action action to v5.6.1 - autoclosed #77

Workflow file for this run

name: Build and deploy documentation
on:
release:
types: [published]
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
pkgdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
needs: website
- name: Install and Build 🔧
run: pkgdown::build_site()
shell: Rscript {0}
- name: Deploy 🚀
if: github.event_name == 'release'
uses: JamesIves/github-pages-deploy-action@v4.6.8
with:
branch: gh-pages # The branch the action should deploy to.
folder: docs # The folder the action should deploy.