Skip to content

Commit

Permalink
Feat: workflow cp not mv
Browse files Browse the repository at this point in the history
  • Loading branch information
mauritzs committed Mar 4, 2025
1 parent 1d5a2b5 commit 57c9957
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_primary_nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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
sudo mv nginx_secfit.conf /etc/nginx/conf.d/nginx.conf
sudo cp nginx_secfit.conf /etc/nginx/conf.d/nginx.conf
sudo nginx -t
# Restarting nginx service
Expand Down

0 comments on commit 57c9957

Please sign in to comment.