Skip to content

Commit 58cc765

Browse files
authored
Create ci
1 parent c7ade09 commit 58cc765

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/main.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build-and-deploy:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout 🛎️
11+
uses: actions/checkout@v2.3.1
12+
with:
13+
persist-credentials: false
14+
15+
- name: Install and Build 🔧
16+
run: |
17+
npm install
18+
npm run build
19+
- name: Deploy 🚀
20+
uses: JamesIves/github-pages-deploy-action@3.6.2
21+
with:
22+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
23+
BRANCH: gh-pages
24+
FOLDER: public

0 commit comments

Comments
 (0)