Skip to content

Commit

Permalink
Change quarto render process in workflow.wq
Browse files Browse the repository at this point in the history
  • Loading branch information
jatkinson1000 committed Oct 21, 2023
1 parent 4bbaa6d commit 820816c
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/deploy_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ name: BuildPages
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main", "slides-pages" ]
pull_request:
branches: [ "main" ]

Expand All @@ -30,10 +28,9 @@ jobs:
uses: quarto-dev/quarto-actions/setup@v2

- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
with:
to: html # If set, it will be equivalent to `quarto render --to html`
path: slides # By default, the current working dir is used i.e `quarto render .`
run: |
cd slides
quarto --render *.qmd
- name: Test docs build
if: github.ref != 'refs/heads/main'
Expand Down

0 comments on commit 820816c

Please sign in to comment.