Skip to content

Commit

Permalink
Try run in GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
ditatompel committed Jun 7, 2024
1 parent 61e3f4d commit 57bcda4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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: |
sed -i 's/\(^# load_module\|^ *# vhost_traffic_\)/\1/' ./etc/nginx/nginx.conf
chmod +x ./kickstart.sh
sudo ./kickstart.sh -I
- name: Text nginx config
run: |
nginx -t

0 comments on commit 57bcda4

Please sign in to comment.