This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
feat: add cloudflare email config #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: TEST DNS Deploy/Sync (OctoDNS) | DRY RUN | |
on: ["pull_request"] | |
jobs: | |
OctoDNS: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
cache: "pip" # caches pip dependencies | |
- run: pip install -r requirements.txt | |
- name: Confirm installation | |
run: | | |
python -c "import octodns; import octodns_cloudflare" | |
- name: Set execute permissions | |
run: | | |
chmod +x ./bin/dry-run | |
- name: Do a dry run | |
env: | |
BIND_SECRET: ${{ secrets.BIND_SECRET }} | |
CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }} | |
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }} | |
NS1_API_KEY: ${{ secrets.NS1_API_KEY }} | |
run: ./bin/dry-run |