From 9a449517ede7a4b79273b6222f74c5a96202df13 Mon Sep 17 00:00:00 2001 From: g00dvin Date: Thu, 11 Sep 2025 14:17:29 +0300 Subject: [PATCH] Fix scripts path and remove workflows action only if we have changes in domains.txt --- .forgejo/workflows/deploy.yaml | 5 ++--- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index c2c5a15..50c8cfc 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -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: | diff --git a/Makefile b/Makefile index de0eeb8..2103297 100644 --- a/Makefile +++ b/Makefile @@ -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