File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4646 - name : " Validate config update - single file"
4747 shell : bash
4848 run : |
49- wget -O - -o /dev/null http://${{ secrets.NGINX_DEPLOYMENT_IP }} | jq '.request.headers. "Github-Run-Id" | test( "'"$GITHUB_RUN_NUMBER"'")'
49+ wget -S -q --spider http://${{ secrets.NGINX_DEPLOYMENT_IP }} 2>&1 | grep "Github-Run-Id: $GITHUB_RUN_ID"
5050 - name : " Update config - multi file"
5151 shell : bash
5252 run : |
@@ -69,12 +69,12 @@ jobs:
6969 - name : " Validate config update"
7070 shell : bash
7171 run : |
72- wget -O - -o /dev/null http://${{ secrets.NGINX_DEPLOYMENT_IP }} | jq '.request.headers. "Github-Run-Id" | test( "'" $GITHUB_RUN_ID"'")'
72+ wget -S -q --spider http://${{ secrets.NGINX_DEPLOYMENT_IP }} 2>&1 | grep "Github-Run-Id: $GITHUB_RUN_ID"
7373 - name : " Validate certificate update"
7474 uses : azure/CLI@v1
7575 with :
7676 inlineScript : |
7777 echo "-----BEGIN CERTIFICATE-----" > /tmp/$GITHUB_RUN_ID.tmp
7878 az keyvault certificate show --vault-name $NGINX_VAULT_NAME -n $NGINX_CERT_NAME | jq -r .cer | cat >> /tmp/$GITHUB_RUN_ID.tmp
7979 echo "-----END CERTIFICATE-----" >> /tmp/$GITHUB_RUN_ID.tmp
80- wget -O - -o /dev/null https://${{ secrets.NGINX_DEPLOYMENT_IP }} --ca-certificate=/tmp/$GITHUB_RUN_ID.tmp | jq '.request.headers. "Github-Run-Id" | test( "'" $GITHUB_RUN_ID"'")'
80+ wget -S -q --spider https://${{ secrets.NGINX_DEPLOYMENT_IP }} --ca-certificate=/tmp/$GITHUB_RUN_ID.tmp 2>&1 | grep "Github-Run-Id: $GITHUB_RUN_ID"
You can’t perform that action at this time.
0 commit comments