mirror of
https://github.com/maplibre/martin.git
synced 2024-12-24 23:45:42 +03:00
Update nginx path of windows runner in CI.yml (#1210)
This commit is contained in:
parent
e30467891d
commit
95c18dcf6b
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -394,22 +394,22 @@ jobs:
|
|||||||
|
|
||||||
# Replace the default Nginx configuration file
|
# Replace the default Nginx configuration file
|
||||||
echo "$nginxConf"
|
echo "$nginxConf"
|
||||||
Set-Content -Path "C:\tools\nginx-1.25.3\conf\nginx.conf" -Value $nginxConf
|
Set-Content -Path "C:\tools\nginx-1.25.4\conf\nginx.conf" -Value $nginxConf
|
||||||
Get-Content -Path "C:\tools\nginx-1.25.3\conf\nginx.conf"
|
Get-Content -Path "C:\tools\nginx-1.25.4\conf\nginx.conf"
|
||||||
|
|
||||||
# Start Nginx
|
# Start Nginx
|
||||||
#Get-Service -ErrorAction SilentlyContinue
|
#Get-Service -ErrorAction SilentlyContinue
|
||||||
#Get-CimInstance -ClassName Win32_Service
|
#Get-CimInstance -ClassName Win32_Service
|
||||||
Set-Service nginx -StartupType manual
|
Set-Service nginx -StartupType manual
|
||||||
Start-Service nginx
|
Start-Service nginx
|
||||||
#Start-Process -FilePath "C:\tools\nginx-1.25.3\nginx.exe"
|
#Start-Process -FilePath "C:\tools\nginx-1.25.4\nginx.exe"
|
||||||
dir C:\tools\nginx-1.25.3\logs\
|
dir C:\tools\nginx-1.25.4\logs\
|
||||||
Start-Sleep -Seconds 5
|
Start-Sleep -Seconds 5
|
||||||
netstat -a
|
netstat -a
|
||||||
|
|
||||||
# Print Nginx Error Logs (on Windows systems)
|
# Print Nginx Error Logs (on Windows systems)
|
||||||
#nginx -t
|
#nginx -t
|
||||||
Get-Content -Path "C:\tools\nginx-1.25.3\logs\error.log"
|
Get-Content -Path "C:\tools\nginx-1.25.4\logs\error.log"
|
||||||
dir D:\a\martin\martin\
|
dir D:\a\martin\martin\
|
||||||
- name: Start postgres
|
- name: Start postgres
|
||||||
uses: nyurik/action-setup-postgis@v1.1
|
uses: nyurik/action-setup-postgis@v1.1
|
||||||
|
Loading…
Reference in New Issue
Block a user