Skip to content

Add WARNING that downtime can't be avoided when upgrading Nginx #8

Add WARNING that downtime can't be avoided when upgrading Nginx

Add WARNING that downtime can't be avoided when upgrading Nginx #8

Workflow file for this run

name: Test kickstart.sh
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: install Nginx from official repository
run: |
chmod +x ./kickstart.sh
echo "y" | sudo ./kickstart.sh -I
- name: Compile VTS
run: |
sed -i 's/\(^# load_module\|^ *# vhost_traffic_\)/\1/' ./etc/nginx/nginx.conf
sudo cp -rT ./etc/nginx /etc/nginx && sudo /etc/nginx/cloudflare-ips.sh
sudo ./kickstart.sh -V
- name: Test nginx config
run: |
sudo nginx -t