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

View file

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