Build: add powershell command
This commit is contained in:
parent
a66a61f7c0
commit
765c68c9f9
@ -37,6 +37,7 @@ xcopy config\nginx\sites-enabled\* build\deploy\nginx\sites-enabled\ /E /R /Y
|
||||
|
||||
REM fix paths
|
||||
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-client.conf) -replace 'ROOTPATH', '%~dp0deploy\client' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-client.conf"
|
||||
powershell -Command "(gc build\deploy\nginx\sites-enabled\onlyoffice-management.conf) -replace 'ROOTPATH', '%~dp0deploy\management' -replace '\\', '/' | Out-File -encoding ASCII build\deploy\nginx\sites-enabled\onlyoffice-management.conf"
|
||||
|
||||
REM restart nginx
|
||||
echo service nginx stop
|
||||
|
Loading…
Reference in New Issue
Block a user