Fix scripts path and remove workflows action only if we have changes in domains.txt
All checks were successful
Deploy DNS Configuration / deploy (push) Successful in 22m14s

This commit is contained in:
g00dvin 2025-09-11 14:17:29 +03:00
parent 455da7ac8f
commit 9a449517ed
2 changed files with 4 additions and 5 deletions

View file

@ -3,7 +3,6 @@ name: Deploy DNS Configuration
on:
push:
branches: [ main ]
paths: [ 'domains.txt' ]
jobs:
deploy:
@ -28,8 +27,8 @@ jobs:
- name: Prepare Makefile
run: |
chmod +x script/generate-configs.sh
chmod +x script/deploy-to-gateway.sh
chmod +x scripts/generate-configs.sh
chmod +x scripts/deploy-to-gateway.sh
- name: Run workflow (clean → check → all)
run: |

View file

@ -3,8 +3,8 @@
# ==========================
DOMAINS := domains.txt
GEN_SCRIPT := ./generate-configs.sh
DEPLOY_SCRIPT := ./deploy-to-gateway.sh
GEN_SCRIPT := ./scripts/generate-configs.sh
DEPLOY_SCRIPT := ./scripts/deploy-to-gateway.sh
IPSET_CONF := /tmp/91-ipset-bbrkn.conf
RESOLVE_CONF := /tmp/92-resolve-bbrkn.conf