mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 10:09:49 +00:00
Add GHA action.yml
This commit is contained in:
parent
f55c7e9894
commit
edac9a3ff1
1 changed files with 36 additions and 0 deletions
36
.github/workflows/action.yml
vendored
Normal file
36
.github/workflows/action.yml
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Build Script for Nginx Ultimate Bad Bot Blocker using GHA
|
||||
|
||||
name: CI
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
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: |
|
||||
add-apt-repository -y ppa:nginx/stable
|
||||
apt-get update
|
||||
apt-get install -y --assume-yes nginx-extras
|
||||
apt-get -y install dos2unix
|
||||
|
||||
|
||||
- name: Run build
|
||||
shell: bash
|
||||
echo "Done"
|
||||
#run: ./scripts/travis-commit.sh
|
Loading…
Add table
Reference in a new issue