diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml new file mode 100644 index 00000000..c6164095 --- /dev/null +++ b/.github/workflows/gh-pages-deploy.yml @@ -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/checkout@v2.3.1 + with: + persist-credentials: false + + - name: Install and Build + run: | + npm install + npm run build + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@4.1.3 + with: + branch: gh-pages + folder: build/web