From cff6d6f9eb8dd832b62458a8f9d0e5be802c86eb Mon Sep 17 00:00:00 2001 From: Pal Mezei Date: Sun, 25 Feb 2024 18:38:41 +1100 Subject: [PATCH] Setting up build dir for zola deploy --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dcce824..7913718 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ name: Zola on GitHub Pages -on: +on: push: branches: - main @@ -15,5 +15,6 @@ jobs: - name: Build and deploy uses: shalzz/zola-deploy-action@v0.18.0 env: + BUILD_DIR: deploy GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PAGES_BRANCH: deploy