Skip to content

Commit

Permalink
Update quarto_render_publishGH.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
blenback authored May 21, 2024
1 parent 3f46d93 commit 65f85f9
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/quarto_render_publishGH.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:

name: Render and Publish

contents: write
pages: write
permissions:
contents: write
pages: write

jobs:
build-deploy:
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -21,20 +21,17 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# To install LaTeX to build PDF book
tinytex: true

# add software dependencies here and any libraries
# From https://github.com/r-lib/actions/tree/v2-branch/setup-r
- name: Setup R
uses: r-lib/actions/setup-r@v2
- name: Setup R
uses: r-lib/actions/setup-r@v2

# Publish to GitHub Pages, uncomment
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions


0 comments on commit 65f85f9

Please sign in to comment.