Skip to content

Commit 1f05a5c

Browse files
committed
deployment for github-pages
1 parent fb868d8 commit 1f05a5c

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/deploy.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+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
deploy:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Setup Pages
19+
uses: actions/configure-pages@v3
20+
- name: Upload artifact
21+
uses: actions/upload-pages-artifact@v3
22+
with:
23+
path: "."
24+
- name: Deploy to GitHub Pages
25+
id: deployment
26+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)