File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
name : Build and Release for Azure Pipeline
2
3
on :
3
4
push :
Original file line number Diff line number Diff line change
1
+ ---
1
2
# File: .github/workflows/testNginxForAzureDeploy.yml
2
3
3
4
name : Test Github action to update NGINX as a Service (NGINXaaS) for Azure configurations
4
5
on :
6
+ push :
7
+ branches :
8
+ - ' *'
9
+ pull_request :
5
10
schedule :
6
11
- cron : " 0 20 * * *"
7
12
84
89
with :
85
90
inlineScript : |
86
91
export NGINX_DEPLOYMENT_IP=$(cat nginx.json | jq '.properties.ipAddress')
87
- wget -O - -o /dev/null http://${{ NGINX_DEPLOYMENT_IP }} /github-action | grep '$GITHUB_RUN_ID'
92
+ wget -O - -o /dev/null http://$NGINX_DEPLOYMENT_IP:8443 /github-action | grep '$GITHUB_RUN_ID'
88
93
echo "-----BEGIN CERTIFICATE-----" > /tmp/$GITHUB_RUN_ID.tmp
89
94
az keyvault certificate show --vault-name $NGINX_VAULT_NAME -n $NGINX_CERT_NAME | jq -r .cer | cat >> /tmp/$GITHUB_RUN_ID.tmp
90
95
echo "-----END CERTIFICATE-----" >> /tmp/$GITHUB_RUN_ID.tmp
91
- wget -O - -o /dev/null https://${{ NGINX_DEPLOYMENT_IP }} :8443/github-action --ca-certificate=/tmp/$GITHUB_RUN_ID.tmp | grep '$GITHUB_RUN_ID'
96
+ wget -O - -o /dev/null https://$NGINX_DEPLOYMENT_IP:8443/github-action --ca-certificate=/tmp/$GITHUB_RUN_ID.tmp | grep '$GITHUB_RUN_ID'
You can’t perform that action at this time.
0 commit comments