Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/dns-apply.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ jobs:
env:
PORKBUN_API_KEY: ${{ secrets.PORKBUN_API_KEY }}
PORKBUN_SECRET_KEY: ${{ secrets.PORKBUN_SECRET_KEY }}
run: octodns-sync --config-file=config/octodns.yaml --doit
run: |
if [ -z "$PORKBUN_API_KEY" ] || [ -z "$PORKBUN_SECRET_KEY" ]; then
echo "::error::PORKBUN_API_KEY and/or PORKBUN_SECRET_KEY are empty. Add them as secrets on the repository or the 'production' environment."
exit 1
fi
octodns-sync --config-file=config/octodns.yaml --doit