Skip to content

Commit c2b0ba8

Browse files
authored
Deploy to github pages
1 parent 4f28b2b commit c2b0ba8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build and Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
jobs:
8+
build-and-deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout 🛎️
12+
uses: actions/checkout@v2.3.1
13+
14+
- name: Install and Build
15+
run: |
16+
npm ci
17+
npm run build
18+
- name: Deploy 🚀
19+
uses: JamesIves/github-pages-deploy-action@4.0.0
20+
with:
21+
branch: gh-pages # The branch the action should deploy to.
22+
folder: public # The folder the action should deploy.

0 commit comments

Comments
 (0)