Skip to content

Commit 4da9e6f

Browse files
committed
feat(checks): reusable infrastructure checks
1 parent b199d18 commit 4da9e6f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/reusable-infrastructure-checks.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,10 @@ jobs:
1616

1717
- name: Sanity Ansible
1818
uses: ansible/ansible-content-actions/.github/workflows/sanity.yaml@main
19+
20+
- name: Find and Validate NGINX Configs
21+
run: |
22+
find $GITHUB_WORKSPACE -name 'nginx.conf' | while read -r conf; do
23+
echo "Validating $conf"
24+
sudo nginx -t -c "$conf" || exit 1
25+
done

0 commit comments

Comments
 (0)