File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
name : Test Github action to update NGINX as a Service (NGINXaaS) for Azure configurations
4
4
on :
5
- schedule :
6
- - cron : " 0 20 * * *"
5
+ workflow_dispatch
7
6
8
7
env :
9
8
NGINX_DEPLOYMENT_NAME : n4a-long-eastus2-basic-ngx
@@ -24,11 +23,11 @@ jobs:
24
23
- name : " Checkout repository"
25
24
uses : actions/checkout@v4
26
25
- 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 }}"
32
31
33
32
- name : " Update config - single file"
34
33
shell : bash
You can’t perform that action at this time.
0 commit comments