Skip to content

Commit 7ceb18e

Browse files
committed
chore: new workflow for Github Pages
1 parent 464459e commit 7ceb18e

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: write
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Upload site files
20+
uses: actions/upload-pages-artifact@v3
21+
with:
22+
path: ./public
23+
24+
- name: Deploy to GitHub Pages
25+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)