From 9ddeaf7741fa871f91cc2d101b4103ae9b7f3bd1 Mon Sep 17 00:00:00 2001 From: Kenzi Connor Date: Mon, 1 Jul 2024 13:56:03 -0700 Subject: [PATCH] fix syntax --- .github/workflows/main.yml | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1d09938..ac96a3a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,15 +1,16 @@ name: Build and deploy GH Pages -on: push - branches: - - main -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.19.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +on: + push: + branches: + - main + 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.19.1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}