Update GHA workflow [skip travis]

This commit is contained in:
Mitchell Krog 2021-07-04 15:50:26 +02:00
parent 31469505f1
commit 07362bc9ad
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43
2 changed files with 10 additions and 16 deletions

View file

@ -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()

View file

@ -242,7 +242,7 @@ runsetupngxblocker1
loadNginxConf loadNginxConf
forceUpdateTest1 forceUpdateTest1
runupdatengxblocker runupdatengxblocker
startNginX #startNginX
reloadNginX reloadNginX
waitforReload waitforReload
forceUpdateTest2 forceUpdateTest2