Skip to content

Commit

Permalink
feat: nginx 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
leedy3838 committed Sep 1, 2024
1 parent ec1cd16 commit e04ad48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prod-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
key: ${{ secrets.EC2_SSH_KEY }}
script_stop: true
script: |
sudo docker exec -i nginxserver bash -c 'echo "set \$service_url ${{ env.TARGET_UPSTREAM }};" > /etc/nginx/conf.d/service-env.inc && sudo nginx -s reload'
sudo docker exec -i nginxserver bash -c 'echo "set \$service_url ${{ env.TARGET_UPSTREAM }};" > /etc/nginx/conf.d/service-env.inc && service nginx reload'
- name: Stop current server
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit e04ad48

Please sign in to comment.