@@ -33,15 +33,15 @@ jobs:
33
33
- name : " Update config - single file"
34
34
shell : bash
35
35
run : |
36
- sed -i 's/000000/'"$GITHUB_RUN_NUMBER"'/g' test/configs/single/nginx.conf
37
- cat test/configs/single/nginx.conf
36
+ sed -i 's/000000/'"$GITHUB_RUN_NUMBER"'/g' github-action/ test/configs/single/nginx.conf
37
+ cat github-action/ test/configs/single/nginx.conf
38
38
- name : " Sync NGINX configuration to NGINXaaS for Azure - single file"
39
39
40
40
with :
41
41
subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
42
42
resource-group-name : $TEST_RESOURCE_GROUP_NAME
43
43
nginx-deployment-name : $NGINX_DEPLOYMENT_NAME
44
- nginx-config-directory-path : test/configs/single/
44
+ nginx-config-directory-path : github-action/ test/configs/single/
45
45
nginx-root-config-file : $NGINX_ROOT_CONFIG_FILE
46
46
transformed-nginx-config-directory-path : $NGINX_TRANSFORMED_CONFIG_DIR_PATH
47
47
- name : " Validate config update - single file"
@@ -51,18 +51,18 @@ jobs:
51
51
- name : " Update config - multi file"
52
52
shell : bash
53
53
run : |
54
- sed -i 's/000000/'"$GITHUB_RUN_ID"'/g' test/configs/multi/nginx.conf
55
- cat test/configs/multi/nginx.conf
56
- sed -i 's/000000/'"$GITHUB_RUN_ID"'/g' test/configs/multi/conf.d/proxy.conf
57
- cat test/configs/multi/conf.d/proxy.conf
54
+ sed -i 's/000000/'"$GITHUB_RUN_ID"'/g' github-action/ test/configs/multi/nginx.conf
55
+ cat github-action/ test/configs/multi/nginx.conf
56
+ sed -i 's/000000/'"$GITHUB_RUN_ID"'/g' github-action/ test/configs/multi/conf.d/proxy.conf
57
+ cat github-action/ test/configs/multi/conf.d/proxy.conf
58
58
- name : " Sync NGINX configuration and certificate to NGINXaaS for Azure - multi file"
59
59
60
60
with :
61
61
subscription-id : ${{ secrets.AZURE_SUBSCRIPTION_ID }}
62
62
resource-group-name : $TEST_RESOURCE_GROUP_NAME
63
63
nginx-deployment-name : $NGINX_DEPLOYMENT_NAME
64
64
nginx-deployment-location : " westcentralus"
65
- nginx-config-directory-path : test/configs/multi/
65
+ nginx-config-directory-path : github-action/ test/configs/multi/
66
66
nginx-root-config-file : $NGINX_ROOT_CONFIG_FILE
67
67
transformed-nginx-config-directory-path : $NGINX_TRANSFORMED_CONFIG_DIR_PATH
68
68
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" } ]'
0 commit comments