diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..96acaaa --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,26 @@ +name: Deploy to GH Pages + +on: + push: + branches: + - master + +permissions: + contents: write + +jobs: + gh-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@master + - name: Setup + uses: actions/setup-node@master + - name: Install deps + run: npm install + - name: Build + run: npm run build + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: build \ No newline at end of file