Skip to content

Commit

Permalink
silent mode for curl
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed May 2, 2024
1 parent 15db8c8 commit 83477da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cm_deploy_to_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Sign Config File
run: |
mkdir -p public && \
status_code=$(curl -X POST --data-binary @${JSON_CONFIG} -w "%{response_code}" --header "Content-Type: application/json" https://criticalmoments.io/account/api/sign_config -o ./public/${SIGNED_NAME}) && \
status_code=$(curl -s -X POST --data-binary @${JSON_CONFIG} -w "%{response_code}" --header "Content-Type: application/json" https://criticalmoments.io/account/api/sign_config -o ./public/${SIGNED_NAME}) && \
if [ $status_code != "200" ]; then echo "Error signing config: $status_code"; cat ./public/${SIGNED_NAME}; exit 1; fi
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit 83477da

Please sign in to comment.