Skip to content

Commit 7a86f96

Browse files
Create deploy.yml
1 parent 79d8f21 commit 7a86f96

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 Templates
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
steps:
16+
- name: Checkout repo
17+
uses: actions/checkout@v3
18+
19+
- name: Setup Pages
20+
uses: actions/configure-pages@v2
21+
22+
- name: Upload static site
23+
uses: actions/upload-pages-artifact@v1
24+
with:
25+
path: ./templates
26+
27+
- name: Deploy to GitHub Pages
28+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)