feat: Add Google Workspace DKIM record for patchworklabs.org.yaml #29
This file contains hidden or 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: Sync DNS | |
on: | |
workflow_dispatch: | |
inputs: | |
force: | |
description: "Use --force flag" | |
required: false | |
type: boolean | |
default: false | |
push: | |
branches: | |
- main | |
jobs: | |
octodns: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3" | |
cache: "pip" # caches pip dependencies | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Sync w/ production DNS providers | |
run: ./bin/sync ${{ inputs.force && '--force' || '' }} | |
env: | |
HETZNER_KEY: ${{ secrets.HETZNER_KEY }} |