Skip to content

Commit fa738bd

Browse files
Vignesh S, ManojVignesh S, Manoj
authored andcommitted
Added deploy script
1 parent b6a149b commit fa738bd

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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
12+
with:
13+
persist-credentials: false
14+
15+
- name: Install and Build 🔧
16+
run: |
17+
npm install
18+
npm run-script build
19+
20+
- name: Deploy 🚀
21+
uses: JamesIves/github-pages-deploy-action@releases/v3
22+
with:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
BRANCH: gh-pages
25+
FOLDER: public

0 commit comments

Comments
 (0)