Update GHA workflow [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-04 15:10:25 +02:00
parent 471e095e33
commit 5d48162cfa
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
2 changed files with 8 additions and 7 deletions

View file

@ -14,12 +14,12 @@ on:
branches:
- master
services:
nginx:
image: nginx
#services:
# nginx:
# image: nginx
# Map port 8080 on the Docker host to port 80 on the nginx container
ports:
- 8080:80
# ports:
# - 8080:80
jobs:
build:
@ -47,7 +47,7 @@ jobs:
echo "export TERM=xterm" >> ~/.bashrc
source ~/.bashrc
./dev-tools/generate-files.sh
#./dev-tools/install-nginx-1.sh
./dev-tools/install-nginx-1.sh
- name: Debug
shell: bash

View file

@ -69,6 +69,7 @@ echo "${bold}${green}---------------"
echo "${bold}${green}Starting Nginx"
echo "${bold}${green}---------------"
sudo systemctl status nginx.service
sudo systemctl enable nginx.service
sudo nginx -t
sudo service nginx start
#sudo systemctl start nginx
@ -241,7 +242,7 @@ runsetupngxblocker1
loadNginxConf
forceUpdateTest1
runupdatengxblocker
#startNginX
startNginX
reloadNginX
waitforReload
forceUpdateTest2