diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..693d4f4 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ + +name: deploy demo to gh-pages + +on: + push: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + + - name: Install and Build 🔧 + run: | + npm install + npm run dist + + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4.2.5 + with: + branch: gh-pages # The branch the action should deploy to. + folder: ./pages # The folder the action should deploy. + commit-message: "update: stisla demo" + + \ No newline at end of file