Skip to content

Merge pull request #12 from mrc-ide/mrc-6006 #63

Merge pull request #12 from mrc-ide/mrc-6006

Merge pull request #12 from mrc-ide/mrc-6006 #63

Workflow file for this run

on:
push:
branches: main
pull_request:
branches: main
# to be able to trigger a manual build
workflow_dispatch:
name: Render and deploy Book to GitHub
jobs:
build-deploy:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
- name: Render book to all format
# Add any command line argument needed
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
single-commit: true