Skip to content

action permissions and ignores #3

action permissions and ignores

action permissions and ignores #3

Workflow file for this run

name: Render and Deploy Quarto Document
on:
push:
branches:
- development
ignore-paths:
- 'README.md'
- 'LICENSE'
jobs:
render:
permissions:
contents: write
pages: write
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
# with:
# version: 1.6.37
- name: Install R
uses: r-lib/actions/setup-r@v2
# with:
# r-version: '4.2.0'
- uses: r-lib/actions/setup-r-dependencies@v2
with:
packages:
any::knitr
any::rmarkdown
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}