diff --git a/.github/workflows/publish-pages.yml b/.github/workflows/publish-pages.yml new file mode 100644 index 0000000..81a9ae1 --- /dev/null +++ b/.github/workflows/publish-pages.yml @@ -0,0 +1,18 @@ +name: Publish demo on GitHub Pages + +on: + push: + branches: + - master + +jobs: + build: + name: Publish site + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v3.0.0 + - name: Build and deploy + uses: shalzz/zola-deploy-action@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}