Skip to content

Try compile VTS using GitHub action #4

Try compile VTS using GitHub action

Try compile VTS using GitHub action #4

Workflow file for this run

name: Test Install Script
on:
push:
branches:
- main
- test
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run install Nginx
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
./kickstart.sh -V
- name: Text nginx config
run: |
sudo nginx -t