Skip to content

Commit

Permalink
Debug workflow env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
ctmbl committed Mar 5, 2024
1 parent 9fdb456 commit 0c7a09a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0c7a09a

Please sign in to comment.