Skip to content

Commit afff94b

Browse files
authored
Create deploy.yml
1 parent 1c459fb commit afff94b

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

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

0 commit comments

Comments
 (0)