From c4a0cdcb40e14f4cbd146f51bac1c88eba50b48c Mon Sep 17 00:00:00 2001 From: Abhinav I S Date: Wed, 22 May 2024 14:34:36 +0530 Subject: [PATCH] initial commit --- .github/workflows/main.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..8487277 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,22 @@ +name: Zola on GitHub Pages + +on: + push: + branches: + - master + +permissions: + contents: write + pages: write + +jobs: + build: + name: Publish site + runs-on: ubuntu-latest + steps: + - name: Checkout main + uses: actions/checkout@v4 + - name: Build and deploy + uses: shalzz/zola-deploy-action@v0.18.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}