From 0205841f128af580d77457af6de6992f5bebd0eb Mon Sep 17 00:00:00 2001 From: Zijun Yang Date: Sat, 28 Dec 2024 21:42:40 -0500 Subject: [PATCH] another trial --- .github/workflows/deploy.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 450f90e..407f99c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -30,14 +30,13 @@ jobs: - name: Send deployment request to AuthRun id: send_post run: | - # Mask the code in the logs echo "::add-mask::${{ env.code }}" - # Disable command echoing to avoid printing the curl command with the code set +x - response=$(curl -X POST "${{ secrets.FLASK_VERIFIER_URL }}/verify" \ - -d "code=${{ env.code }}" -s) - # Re-enable command echoing + + _CODE="${{ env.code }}" + response=$(curl -X POST "${{ secrets.FLASK_VERIFIER_URL }}/verify" -d "code=${_CODE}" -s) + set -x echo "Response: $response"