INC20112056 #528
Workflow file for this run
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: Check nginx config parsing | |
on: | |
pull_request: | |
branches: [ prod ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build the Docker image | |
run: docker build . --build-arg "landscape=prod" --tag webrouter:test | |
- name: Try parsing the configs | |
run: docker run -e "LANDSCAPE=prod" webrouter:test /usr/sbin/run-nginx.sh -t |