Skip to content

Commit b3232b1

Browse files
committed
Publish to GitHub pages on push to main
1 parent 7d25024 commit b3232b1

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/render-quarto-slides.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,12 @@ jobs:
3131
with:
3232
name: rendered-quarto-slides
3333
path: _output
34+
- name: Publish on GitHub pages
35+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
36+
uses: peaceiris/actions-gh-pages@v4
37+
with:
38+
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
publish_dir: _output
40+
publish_branch: gh-pages
41+
user_name: "github-actions[bot]"
42+
user_email: "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)