Skip to content

Commit 50e00c5

Browse files
committed
change
1 parent a99a7aa commit 50e00c5

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
name: Test Github action to update NGINX as a Service (NGINXaaS) for Azure configurations
44
on:
5-
schedule:
6-
- cron: "0 20 * * *"
5+
workflow_dispatch
76

87
env:
98
NGINX_DEPLOYMENT_NAME: n4a-long-eastus2-basic-ngx
@@ -24,11 +23,11 @@ jobs:
2423
- name: "Checkout repository"
2524
uses: actions/checkout@v4
2625
- name: "AZ CLI Login"
27-
uses: azure/login@v2
28-
with:
29-
client-id: ${{ secrets.AZURE_CLIENT_ID }}
30-
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
31-
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
26+
run: |
27+
az login --service-principal \
28+
--username "${{ secrets.AZURE_CLIENT_ID }}" \
29+
--password "${{ secrets.AZURE_CLIENT_SECRET }}" \
30+
--tenant "${{ secrets.AZURE_TENANT_ID }}"
3231
3332
- name: "Update config - single file"
3433
shell: bash

0 commit comments

Comments
 (0)