Skip to content

Commit

Permalink
another trial
Browse files Browse the repository at this point in the history
  • Loading branch information
zpatronus committed Dec 29, 2024
1 parent cf93865 commit 0205841
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0205841

Please sign in to comment.