Skip to content

Commit

Permalink
Merge pull request devfolioco#18 from ankiiitraj/action
Browse files Browse the repository at this point in the history
added CI using gh-page and gtihub actions
  • Loading branch information
prateek3255 authored Oct 1, 2020
2 parents c70c518 + 09fabb0 commit 59a43b8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false

- name: Install and Build 🔧
run: |
npm install
npm run demo:prod
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: dist
CLEAN: true

0 comments on commit 59a43b8

Please sign in to comment.