diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml new file mode 100644 index 0000000000..243730d94c --- /dev/null +++ b/.github/workflows/deploy-site.yml @@ -0,0 +1,19 @@ +name: Deploy website +on: + release: + branches: + - master +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + + - name: Deploy website + uses: JamesIves/github-pages-deploy-action@master + env: + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} + BRANCH: gh-pages + FOLDER: _site + BUILD_SCRIPT: npm install && npm run predeploy