diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..c804383 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,23 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: [ master ] + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Install and Build + run: | + npm install + npm run build + + - name: Deploy to GitHub Pages + uses: JamesIves/github-pages-deploy-action@latest + with: + branch: gh-pages + folder: public