Skip to content

Commit 1eeb4ed

Browse files
authored
Merge pull request #12 from nginxinc/ag-fix-syn
Fixed substitution issue
2 parents 0045346 + f521b72 commit 1eeb4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/testNginxForAzureDeploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
shell: bash
3333
run: |
3434
echo "RANDOM=$((RANDOM%10))" >> $GITHUB_ENV
35-
sed -i 's/000000/'"${ env.RANDOM }"'/g' tests/configs/single/nginx.conf
35+
sed -i 's/000000/'"${{ env.RANDOM }}"'/g' tests/configs/single/nginx.conf
3636
- name: 'Sync NGINX configuration to NGINX on Azure instance - single file'
3737
uses: nginxinc/nginx-for-azure-deploy-action@v0
3838
with:
@@ -45,7 +45,7 @@ jobs:
4545
- name: 'Validate config update - single file'
4646
shell: bash
4747
run: |
48-
wget -O - -o /dev/null http://${{ secrets.NGINX_DEPLOYMENT_IP }} | jq '.request.headers."Github-Run-Id" | test( "'"${ env.RANDOM }"'")'
48+
wget -O - -o /dev/null http://${{ secrets.NGINX_DEPLOYMENT_IP }} | jq '.request.headers."Github-Run-Id" | test( "'"${{ env.RANDOM }}"'")'
4949
- name: 'Update config - multi file'
5050
shell: bash
5151
run: |

0 commit comments

Comments
 (0)