diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..c483de3 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Zola on GitHub Pages + +on: + push: + branches: + - main + +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@v0.17.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}