We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24be8e6 commit 5d15006Copy full SHA for 5d15006
.github/workflows/deploy-hw.yml
@@ -134,6 +134,13 @@ jobs:
134
find: "example.com"
135
replace: "${{ vars.DOMAIN}}"
136
regex: false
137
+ - name: Replace nginx server directory in nginx conf file
138
+ uses: jacobtomlinson/gha-find-replace@v3
139
+ with:
140
+ include: "nginx.conf"
141
+ find: "/etc/nginx"
142
+ replace: "${{ vars.HW_NGINX_SERVER_DIR}}"
143
+ regex: false
144
- name: Copy nginx conf file to server
145
uses: appleboy/[email protected]
146
with:
nginx.conf
@@ -97,6 +97,6 @@
97
# common error page config
98
error_page 500 502 503 504 /50x.html;
99
location = /50x.html {
100
- root /usr/share/nginx/html;
+ root /etc/nginx/html;
101
}
102
0 commit comments