mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +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:
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue