From 6951e02799fc7cd1f29456f1d93cfdcb570dad27 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Thu, 8 Aug 2024 21:46:17 -0400 Subject: [PATCH] Explicitly check value of deploy vars in GHA to ensure correct logic (#376) --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 44c5eb94..00f465f2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,13 +49,13 @@ jobs: - name: Build site shell: bash run: ./ci/build.sh - - name: Build site + - name: Postprocess site shell: bash run: make multidocs - name: Deploy to GitHub Pages - if: env.IS_DEPLOY + if: env.IS_DEPLOY == '1' uses: JamesIves/github-pages-deploy-action@v4 with: folder: ./doc/_build/html clean: false # Don't remove files from other branches - dry-run: ${{ (env.IS_STAGING && 'true') || 'false' }} + dry-run: ${{ (env.IS_STAGING == '1' && 'true') || 'false' }}