Skip to content

Commit 3a490f0

Browse files
committed
add gha
1 parent ccea53d commit 3a490f0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/publish.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Quarto Publish
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build-deploy:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: write
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Deploy
16+
if: ${{ github.event_name == 'push' }}
17+
uses: JamesIves/github-pages-deploy-action@v4
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}
20+
commit-message: 'deploy website'
21+
branch: gh-pages
22+
folder: .
23+
single-commit: true

0 commit comments

Comments
 (0)