From 0c7a09a17db0c3abdfa505b89a3f25b0d872594a Mon Sep 17 00:00:00 2001 From: ctmbl Date: Wed, 6 Mar 2024 00:58:36 +0100 Subject: [PATCH] Debug workflow env vars --- .github/workflows/build_and_deploy.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 0a4f913..4b5c0b0 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -49,9 +49,13 @@ jobs: # - STATIC_WEBSITE_PATH env: HAVE_REQUIRED_SECRETS: ${{ secrets.SSH_KNOWN_HOSTS != '' && secrets.PRIVATE_SSH_KEY != '' && secrets.CI_USER_NAME != '' && secrets.STATIC_WEBSITE_PATH != '' }} - if: env.HAVE_REQUIRED_SECRETS == 'true' + if: ${{ env.HAVE_REQUIRED_SECRETS == 'true' }} runs-on: ubuntu-latest steps: + - name: Debug + run: | + echo "${{ env.HAVE_REQUIRED_SECRETS }}" + - name: 🛠️ Setup build directory run: | mkdir -p build/blog