Skip to content

Commit 96f41fc

Browse files
Create deploy.yml
1 parent a88481c commit 96f41fc

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/deploy.yml

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

0 commit comments

Comments
 (0)