We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceafc99 commit c2f4aa4Copy full SHA for c2f4aa4
.github/workflows/dns-deploy.yaml
@@ -0,0 +1,27 @@
1
+name: Deploy DNS to providers
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+jobs:
8
+ octodns-sync:
9
+ environment: production
10
+ name: Sync latest changes to DNS providers
11
+ runs-on: ubuntu-latest
12
+ defaults:
13
+ run:
14
+ working-directory: ./dns
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - uses: actions/setup-python@v5
18
+ with:
19
+ python-version: '3.12'
20
+ - run: pip install -r requirements.txt
21
+ - uses: solvaholic/octodns-sync@main
22
23
+ config_path: dns/production.yaml
24
+ doit: '--doit'
25
+ env:
26
+ CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
27
+ CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
0 commit comments