Skip to content

Commit b9bb766

Browse files
Add GitHub Pages deployment workflow
1 parent 053c73a commit b9bb766

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/pages.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
persist-credentials: true
15+
fetch-depth: 0
16+
17+
- name: Deploy to GitHub Pages
18+
uses: actions/configure-pages@v4
19+
20+
- name: Upload artifact
21+
uses: actions/upload-pages-artifact@v1
22+
with:
23+
path: '.'
24+
25+
- name: Deploy artifact
26+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)