Skip to content

Commit

Permalink
[refactor] add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieFox committed May 24, 2021
1 parent 794c97a commit 3560c7f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: gh-pages-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 build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build/web

0 comments on commit 3560c7f

Please sign in to comment.