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
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:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Nginx Stable
|
||||
- name: Install Software
|
||||
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
|
||||
|
||||
|
||||
|
@ -46,8 +40,12 @@ jobs:
|
|||
run: |
|
||||
echo "export TERM=xterm" >> ~/.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/install-nginx-1.sh
|
||||
./dev-tools/install-nginx-1.sh
|
||||
|
||||
- name: Debug
|
||||
shell: bash
|
||||
|
@ -55,13 +53,9 @@ jobs:
|
|||
sudo netstat -napt
|
||||
cat /etc/nginx/nginx.conf
|
||||
sudo systemctl list-units --type=service --all
|
||||
sudo systemctl enable nginx
|
||||
sudo systemctl list-units --type=service --all
|
||||
sudo systemctl start nginx
|
||||
sudo systemctl list-units --type=service --all
|
||||
sudo nginx -t
|
||||
sudo systemctl reload nginx
|
||||
sudo systemctl list-units --type=service --all
|
||||
#sudo systemctl list-units --type=service --all
|
||||
#sudo systemctl list-units --type=service --all
|
||||
#sudo systemctl list-units --type=service --all
|
||||
#sudo systemctl status nginx.service
|
||||
#sudo systemctl status nginx
|
||||
if: always()
|
||||
|
|
|
@ -242,7 +242,7 @@ runsetupngxblocker1
|
|||
loadNginxConf
|
||||
forceUpdateTest1
|
||||
runupdatengxblocker
|
||||
startNginX
|
||||
#startNginX
|
||||
reloadNginX
|
||||
waitforReload
|
||||
forceUpdateTest2
|
||||
|
|
Loading…
Add table
Reference in a new issue