Skip to content

Commit 79f4237

Browse files
committed
renamed file structure to kebab inside test yaml
1 parent d1db1c8 commit 79f4237

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ jobs:
3333
- name: "Update config - single file"
3434
shell: bash
3535
run: |
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
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
3838
- name: "Sync NGINX configuration to NGINXaaS for Azure - single file"
3939
uses: nginxinc/[email protected]
4040
with:
4141
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
4242
resource-group-name: $TEST_RESOURCE_GROUP_NAME
4343
nginx-deployment-name: $NGINX_DEPLOYMENT_NAME
44-
nginx-config-directory-path: github_action/test/configs/single/
44+
nginx-config-directory-path: github-action/test/configs/single/
4545
nginx-root-config-file: $NGINX_ROOT_CONFIG_FILE
4646
transformed-nginx-config-directory-path: $NGINX_TRANSFORMED_CONFIG_DIR_PATH
4747
- name: "Validate config update - single file"
@@ -51,18 +51,18 @@ jobs:
5151
- name: "Update config - multi file"
5252
shell: bash
5353
run: |
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
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
5858
- name: "Sync NGINX configuration and certificate to NGINXaaS for Azure - multi file"
5959
uses: nginxinc/[email protected]
6060
with:
6161
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
6262
resource-group-name: $TEST_RESOURCE_GROUP_NAME
6363
nginx-deployment-name: $NGINX_DEPLOYMENT_NAME
6464
nginx-deployment-location: "westcentralus"
65-
nginx-config-directory-path: github_action/test/configs/multi/
65+
nginx-config-directory-path: github-action/test/configs/multi/
6666
nginx-root-config-file: $NGINX_ROOT_CONFIG_FILE
6767
transformed-nginx-config-directory-path: $NGINX_TRANSFORMED_CONFIG_DIR_PATH
6868
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

Comments
 (0)