Add support to find all domains
Some checks failed
Deploy DNS Configuration / deploy (push) Failing after 34s
Some checks failed
Deploy DNS Configuration / deploy (push) Failing after 34s
This commit is contained in:
parent
2019a7661d
commit
ec0cfa2adf
4 changed files with 128 additions and 33 deletions
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
||||
- name: Validate domains file
|
||||
run: |
|
||||
if [ ! -f domains.txt ]; then
|
||||
|
|
@ -26,12 +26,21 @@ jobs:
|
|||
fi
|
||||
done
|
||||
|
||||
- name: Generate dnsmasq configuration files
|
||||
- name: Prepare Makefile
|
||||
run: |
|
||||
chmod +x scripts/generate-configs.sh
|
||||
./scripts/generate-configs.sh
|
||||
chmod +x generate-configs.sh
|
||||
chmod +x deploy-to-gateway.sh
|
||||
|
||||
- name: Deploy to gateway
|
||||
- name: Run workflow (clean → check → all)
|
||||
run: |
|
||||
chmod +x scripts/deploy-to-gateway.sh
|
||||
./scripts/deploy-to-gateway.sh
|
||||
make clean
|
||||
make check
|
||||
make all
|
||||
|
||||
- name: Upload configs as artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: dnsmasq-configs
|
||||
path: |
|
||||
/tmp/91-ipset-bbrkn.conf
|
||||
/tmp/92-resolve-bbrkn.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue