diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 0000000000000000000000000000000000000000..7c9b9efb384f59a62182ee76d7ab6980b22aa5d4 --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,23 @@ +name: Build and deploy to GitHub Pages + +on: + push: + branches: [ main ] + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout ðŸ›Žï¸ + uses: actions/checkout@v2.3.1 + + - name: Install and Build 🔧 + run: | + npm install + npm run dist + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@4.1.0 + with: + branch: gh-pages + folder: dist