Skip to content

Commit c485c46

Browse files
committed
Added deploy.yml workflow
1 parent fa82588 commit c485c46

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'index.html'
9+
10+
jobs:
11+
build-deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
- name: Upload artifact
17+
uses: actions/upload-pages-artifact@v1
18+
with:
19+
path: ./public # directory with generated files
20+
- name: Deploy to Pages
21+
uses: actions/deploy-pages@v1
22+
with:
23+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)