mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-14 17:19:49 +00:00
Removed GHA
This commit is contained in:
parent
54fffb70e1
commit
287df5cd4b
447 changed files with 8 additions and 0 deletions
59
.github/workflows/action.yml
vendored
59
.github/workflows/action.yml
vendored
|
@ -1,59 +0,0 @@
|
|||
# Build Script for Nginx Ultimate Bad Bot Blocker using GHA
|
||||
|
||||
name: CI
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: nginx
|
||||
# Map port 8080 on the Docker host to port 80 on the nginx container
|
||||
ports:
|
||||
- 8080:80
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: "!contains(github.event.head_commit.message, 'skip ci')"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Nginx Stable
|
||||
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
|
||||
|
||||
|
||||
- name: Run build
|
||||
shell: bash
|
||||
run: |
|
||||
echo "export TERM=xterm" >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
./dev-tools/generate-files.sh
|
||||
./dev-tools/install-nginx-1.sh
|
||||
|
||||
- name: Debug
|
||||
shell: bash
|
||||
run: |
|
||||
sudo netstat -napt
|
||||
cat /etc/nginx/nginx.conf
|
||||
sudo systemctl status nginx.service
|
||||
if: always()
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue