Auto update bot rules (#1453) #1456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nginx Config Test | |
on: [push] | |
jobs: | |
run: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
env: | |
OS: ${{ matrix.os }} | |
PYTHON: ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Install Nginx | |
run: sudo apt install -y nginx | |
- name: Test configfile | |
run: sudo nginx -t -c /home/runner/work/nginx-bot-blocker/nginx-bot-blocker/.github/workflows/main.conf |