GitLab CI: test Mastodon Nginx conf

This commit is contained in:
Alex Gleason
2022-05-20 18:47:49 -05:00
parent c729f30efa
commit 0587c3f245
2 changed files with 12 additions and 2 deletions

View File

@ -59,6 +59,15 @@ jest:
- "package.json"
- "yarn.lock"
nginx-test:
stage: test
image: nginx:latest
before_script: cp installation/mastodon.conf /etc/nginx/conf.d/default.conf
script: nginx -t
only:
changes:
- "installation/mastodon.conf"
build-production:
stage: build
script: yarn build