Skip to content

Commit 459c714

Browse files
committed
Enable workflow for all pushes and pulls
1 parent 4974a83 commit 459c714

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/azure-pipeline-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: Build and Release for Azure Pipeline
23
on:
34
push:

.github/workflows/github-action-test-nginxaas-deploy.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
---
12
# File: .github/workflows/testNginxForAzureDeploy.yml
23

34
name: Test Github action to update NGINX as a Service (NGINXaaS) for Azure configurations
45
on:
6+
push:
7+
branches:
8+
- '*'
9+
pull_request:
510
schedule:
611
- cron: "0 20 * * *"
712

@@ -84,8 +89,8 @@ jobs:
8489
with:
8590
inlineScript: |
8691
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'
8893
echo "-----BEGIN CERTIFICATE-----" > /tmp/$GITHUB_RUN_ID.tmp
8994
az keyvault certificate show --vault-name $NGINX_VAULT_NAME -n $NGINX_CERT_NAME | jq -r .cer | cat >> /tmp/$GITHUB_RUN_ID.tmp
9095
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'

0 commit comments

Comments
 (0)