Skip to content

Commit 676f268

Browse files
committed
add deploy workflow
1 parent f287487 commit 676f268

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.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: read
9+
pages: write
10+
id-token: write
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
environment:
16+
name: github-pages
17+
url: ${{ steps.deployment.outputs.page_url }}
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: actions/configure-pages@v5
21+
- uses: actions/upload-pages-artifact@v3
22+
with:
23+
path: .
24+
- id: deployment
25+
uses: actions/deploy-pages@v5

0 commit comments

Comments
 (0)