Skip to content

Commit 824a7c5

Browse files
committed
ci: add GitHub Pages deploy workflow
1 parent d83e924 commit 824a7c5

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

.github/workflows/pages.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: pages
14+
cancel-in-progress: false
15+
16+
jobs:
17+
deploy:
18+
environment:
19+
name: github-pages
20+
url: ${{ steps.deployment.outputs.page_url }}
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: actions/configure-pages@v5
25+
- uses: actions/upload-pages-artifact@v3
26+
with:
27+
path: .
28+
- id: deployment
29+
uses: actions/deploy-pages@v4

.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)