chore(deps): update dependency octodns/octodns to v1.9.0 #1221
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: Octodns | |
on: | |
push: | |
paths: | |
- octodns/** | |
- .github/workflows/octodns.yml | |
pull_request: | |
env: | |
SCALEWAY_SECRET_KEY: ${{ secrets.SCALEWAY_SECRET_KEY }} | |
jobs: | |
octodns-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install '.[octodns]' | |
- name: Validate octodns config | |
run: | | |
octodns-validate --config-file=./octodns/config.yaml --all | |
octodns-deploy: | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/main' | |
needs: [octodns-lint] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install '.[octodns]' | |
- name: Apply octodns config | |
run: | | |
octodns-sync --config-file=./octodns/config.yaml --doit --force |