Skip to content

Commit dfc83c2

Browse files
committed
drop: use debug mode on local flow
1 parent d728ab3 commit dfc83c2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,15 @@ jobs:
3535
sed -i 's/000000/'"$GITHUB_RUN_ID"'/g' github-action/test/configs/single/nginx.conf
3636
cat github-action/test/configs/single/nginx.conf
3737
- name: "Sync NGINX configuration to NGINXaaS for Azure - single file"
38-
uses: nginxinc/nginx-for-azure-deploy-action@v0.3.1
38+
uses: ./github-action/
3939
with:
4040
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4141
resource-group-name: $TEST_RESOURCE_GROUP_NAME
4242
nginx-deployment-name: $NGINX_DEPLOYMENT_NAME
4343
nginx-config-directory-path: github-action/test/configs/single/
4444
nginx-root-config-file: $NGINX_ROOT_CONFIG_FILE
4545
transformed-nginx-config-directory-path: $NGINX_TRANSFORMED_CONFIG_DIR_PATH
46+
debug: "true"
4647
- name: "Validate config update - single file"
4748
shell: bash
4849
run: |
@@ -55,7 +56,7 @@ jobs:
5556
sed -i 's/000000/'"$GITHUB_RUN_ID"'/g' github-action/test/configs/multi/conf.d/proxy.conf
5657
cat github-action/test/configs/multi/conf.d/proxy.conf
5758
- name: "Sync NGINX configuration and certificate to NGINXaaS for Azure - multi file"
58-
uses: nginxinc/nginx-for-azure-deploy-action@v0.3.1
59+
uses: ./github-action/
5960
with:
6061
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
6162
resource-group-name: $TEST_RESOURCE_GROUP_NAME
@@ -65,6 +66,7 @@ jobs:
6566
nginx-root-config-file: $NGINX_ROOT_CONFIG_FILE
6667
transformed-nginx-config-directory-path: $NGINX_TRANSFORMED_CONFIG_DIR_PATH
6768
nginx-certificates: '[{"certificateName": "$NGINX_CERT_NAME", "keyvaultSecret": "https://$NGINX_VAULT_NAME.vault.azure.net/secrets/$NGINX_CERT_NAME", "certificateVirtualPath": "/etc/nginx/ssl/$GITHUB_RUN_ID/my-cert.crt", "keyVirtualPath": "/etc/nginx/ssl/$GITHUB_RUN_ID/my-cert.key" } ]'
69+
debug: "true"
6870

6971
- name: "Validate config update"
7072
shell: bash

0 commit comments

Comments
 (0)