Skip to content

make into a quarto project #1

make into a quarto project

make into a quarto project #1

Workflow file for this run

on:
push:
branches: main
name: render
jobs:
render:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: false
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-pandoc@v2
- uses: quarto-dev/quarto-actions/setup@v2
- name: Cache results
uses: actions/cache@v2
with:
path: |
_book
_freeze
key: book-render-${{ hashFiles('**/*qmd') }}
restore-keys: book-render-
- name: Render
run: quarto render
- name: Deploy to GitHub pages
if: github.event_name != 'pull_request'
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: _book