mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
Update GHA workflow [skip travis]
This commit is contained in:
parent
471e095e33
commit
5d48162cfa
2 changed files with 8 additions and 7 deletions
12
.github/workflows/action.yml
vendored
12
.github/workflows/action.yml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue