Xgit padd conf validation stage

This commit is contained in:
skeris 2024-09-24 00:49:01 +03:00
parent 18994c3e3f
commit 2e4c559f22
2 changed files with 13 additions and 1 deletions

@ -7,6 +7,7 @@ include:
file: "/templates/docker/deploy-template.gitlab-ci.yml"
stages:
- clean
# - check
- build
- deploy
clear-old-images:
@ -24,6 +25,17 @@ clear-old-images:
- docker image ls
script:
- docker system prune -af
# check-config:
# tags:
# - frontbuild
# image:
# name: penahub.gitlab.yandexcloud.net:5050/devops/dockerhub-backup/nginx
# script:
# - pwd
# - ls
# - nginx -t -c /builds/frontend/nginx-proxy/default.conf
# stage: check
build-app:
tags:
- frontbuild

@ -514,7 +514,7 @@ server {
if ($host = s.hbpn.link) {
add_header Access-Control-Allow-Origin,$http_origin,always;
add_header Access-Control-Allow-Origin $http_origin always;
proxy_pass http://respondent;
}