diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml new file mode 100644 index 0000000..f73ebd6 --- /dev/null +++ b/.github/workflows/gh-pages-deploy.yml @@ -0,0 +1,22 @@ +name: Deploy pages +on: + push: + branches: [main] +permissions: + contents: write +jobs: + deploy: + name: Deploy pages + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install dependencies + run: npm i + - name: Build pages + run: npm run build + - name: Deploy pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: dist