From 77f44d4d5e56b04cd6e1104849df3d8f82f7dcb6 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 4 Oct 2024 11:02:52 -0700 Subject: [PATCH] try again --- .github/workflows/checks.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index eda05829b..f47a2ebeb 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -93,13 +93,13 @@ jobs: - name: Check API Server availability run: | curl --fail -v https://notify-api-staging.app.cloud.gov || exit 1 - - name: Examine Vcap Services + - name: Check if secret is present run: | - echo "The length of the secret vcap is ${#SECRET_VALUE}" - echo "The length of the danger salt is ${#DANGER_SALT}" - env: - SECRET_VALUE: ${{ secrets.VCAP_SERVICES }} - DANGER_SALT: $${{ secrets.DANGEROUS_SALT }} + if [ -z "${{ secrets.VCAP_SERVICES }}" ]; then + echo "Secret is empty or not set" + else + echo "Secret length is ${#${{ secrests.VCAP_SERVICES }}}" + fi - name: Run Admin server # If we want to log stuff and see what's broken, # insert this line: