From edac9a3ff151e7565d86d48abcf9b624094abf27 Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Mon, 21 Jun 2021 11:19:35 +0200 Subject: [PATCH] Add GHA action.yml --- .github/workflows/action.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/action.yml diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml new file mode 100644 index 000000000..aec86af6e --- /dev/null +++ b/.github/workflows/action.yml @@ -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 \ No newline at end of file