Add GHA action.yml

This commit is contained in:
Mitchell Krog 2021-06-21 11:19:35 +02:00
parent f55c7e9894
commit edac9a3ff1
No known key found for this signature in database
GPG key ID: E02E9D10427B6A43

36
.github/workflows/action.yml vendored Normal file
View 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