Skip to content

Commit

Permalink
Attempt again
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritzs committed Mar 4, 2025
1 parent a04d119 commit 2c6e154
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ jobs:
- name: Replace environment variables in Nginx config
run: |
envsubst '${DEV_PORT_PREFIX} ${PROD_PORT_PREFIX} ${STAG_PORT_PREFIX} ${GATEWAY_POSTFIX}' < nginx_template.txt > nginx_secfit.conf
- name: Copy variables to conf file
run: |
sudo cp nginx_secfit.conf /etc/nginx/conf.d/nginx.conf
- name: Test setup
run: |
sudo nginx -t
# Restarting nginx service
Expand Down

0 comments on commit 2c6e154

Please sign in to comment.