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
All checks were successful
Deploy DNS Configuration / deploy (push) Successful in 22m14s
This commit is contained in:
parent
455da7ac8f
commit
9a449517ed
2 changed files with 4 additions and 5 deletions
|
|
@ -3,7 +3,6 @@ name: Deploy DNS Configuration
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
paths: [ 'domains.txt' ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
|
|
@ -28,8 +27,8 @@ jobs:
|
||||||
|
|
||||||
- name: Prepare Makefile
|
- name: Prepare Makefile
|
||||||
run: |
|
run: |
|
||||||
chmod +x script/generate-configs.sh
|
chmod +x scripts/generate-configs.sh
|
||||||
chmod +x script/deploy-to-gateway.sh
|
chmod +x scripts/deploy-to-gateway.sh
|
||||||
|
|
||||||
- name: Run workflow (clean → check → all)
|
- name: Run workflow (clean → check → all)
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
4
Makefile
4
Makefile
|
|
@ -3,8 +3,8 @@
|
||||||
# ==========================
|
# ==========================
|
||||||
|
|
||||||
DOMAINS := domains.txt
|
DOMAINS := domains.txt
|
||||||
GEN_SCRIPT := ./generate-configs.sh
|
GEN_SCRIPT := ./scripts/generate-configs.sh
|
||||||
DEPLOY_SCRIPT := ./deploy-to-gateway.sh
|
DEPLOY_SCRIPT := ./scripts/deploy-to-gateway.sh
|
||||||
|
|
||||||
IPSET_CONF := /tmp/91-ipset-bbrkn.conf
|
IPSET_CONF := /tmp/91-ipset-bbrkn.conf
|
||||||
RESOLVE_CONF := /tmp/92-resolve-bbrkn.conf
|
RESOLVE_CONF := /tmp/92-resolve-bbrkn.conf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue