Skip to content

Commit c07b9f2

Browse files
committed
certs
1 parent ef11c56 commit c07b9f2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/nginx-sync.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
--tenant "${{ secrets.AZURE_TENANT_ID }}"
2828
2929
- name: Sync NGINX Config to Azure
30-
uses: kuthiala/nginx-for-azure-deploy-action@main
30+
uses: kuthiala/nginx-for-azure-deploy-action/github-action@use_nginx_cli
3131
# uses: nginxinc/[email protected]
3232
with:
3333
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
@@ -37,3 +37,6 @@ jobs:
3737
nginx-root-config-file: nginx.conf
3838
transformed-nginx-config-directory-path: /etc/nginx/
3939
protected-files: protected.conf
40+
nginx-certificates: '[{"certificateName": "myCertificate", "keyvaultSecret": "https://test-n4a-gh-action.vault.azure.net/secrets/myCertificate/189746de2de34c7f84d4ded9b425c45b", "certificateVirtualPath": "/etc/nginx/certs/server1.crt", "keyVirtualPath": "/etc/nginx/certs/server1.key" }]'
41+
nginx-deployment-location: eastus2
42+
debug: true

0 commit comments

Comments
 (0)