Skip to content

Commit

Permalink
Merge branch 'main' of github.com:UBC-STAT/stat-306-student
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimbers committed Jul 10, 2024
2 parents 6cefc83 + 2bf0aee commit afab1bb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
on:
workflow_dispatch:
push:
branches: [main]

name: Quarto Publish

jobs:
build-deploy:
runs-on: macos-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2

- name: Install R packages
run: Rscript -e 'install.packages(c("rmarkdown", "devtools", "tidyverse"))'

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit afab1bb

Please sign in to comment.