mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-05 04:00:13 +00:00
Update GHA workflow [skip travis]
This commit is contained in:
parent
31469505f1
commit
07362bc9ad
2 changed files with 10 additions and 16 deletions
24
.github/workflows/action.yml
vendored
24
.github/workflows/action.yml
vendored
|
@ -30,14 +30,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install Nginx Stable
|
- name: Install Software
|
||||||
run: |
|
run: |
|
||||||
cat /etc/nginx/sites-available/default
|
|
||||||
#sudo apt remove nginx
|
|
||||||
#sudo apt purge nginx
|
|
||||||
#sudo add-apt-repository -y ppa:nginx/stable
|
|
||||||
#sudo apt update
|
|
||||||
#sudo apt install -y --assume-yes nginx-extras
|
|
||||||
sudo apt -y install dos2unix
|
sudo apt -y install dos2unix
|
||||||
|
|
||||||
|
|
||||||
|
@ -46,8 +40,12 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "export TERM=xterm" >> ~/.bashrc
|
echo "export TERM=xterm" >> ~/.bashrc
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
sudo systemctl enable nginx
|
||||||
|
sudo systemctl start nginx
|
||||||
|
sudo nginx -t
|
||||||
|
sudo systemctl reload nginx
|
||||||
./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
|
||||||
|
@ -55,13 +53,9 @@ jobs:
|
||||||
sudo netstat -napt
|
sudo netstat -napt
|
||||||
cat /etc/nginx/nginx.conf
|
cat /etc/nginx/nginx.conf
|
||||||
sudo systemctl list-units --type=service --all
|
sudo systemctl list-units --type=service --all
|
||||||
sudo systemctl enable nginx
|
#sudo systemctl list-units --type=service --all
|
||||||
sudo systemctl list-units --type=service --all
|
#sudo systemctl list-units --type=service --all
|
||||||
sudo systemctl start nginx
|
#sudo systemctl list-units --type=service --all
|
||||||
sudo systemctl list-units --type=service --all
|
|
||||||
sudo nginx -t
|
|
||||||
sudo systemctl reload nginx
|
|
||||||
sudo systemctl list-units --type=service --all
|
|
||||||
#sudo systemctl status nginx.service
|
#sudo systemctl status nginx.service
|
||||||
#sudo systemctl status nginx
|
#sudo systemctl status nginx
|
||||||
if: always()
|
if: always()
|
||||||
|
|
|
@ -242,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