Skip to content

Commit db76e16

Browse files
committed
fix: add nginx test configuration
1 parent 60c6d48 commit db76e16

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Nginx configuration test
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- nginx.conf
7+
8+
jobs:
9+
nginx-test-job:
10+
runs-on: ubuntu-latest
11+
container:
12+
image: nginx:1.29.1-alpine-slim
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v5
16+
- name: Test Nginx configuration
17+
run: nginx -t -c $(pwd)/nginx.conf

0 commit comments

Comments
 (0)