Skip to content

Commit 957d14b

Browse files
authored
Create deploy.yml
1 parent 804536d commit 957d14b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: deploy
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
octodns:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: actions/setup-python@v5
15+
with:
16+
python-version: '3'
17+
- name: Install OctoDNS
18+
run: pip install 'octodns==0.9.10'
19+
- name: Sync w/ production DNS providers
20+
run: ./bin/sync
21+
env:
22+
# DNSIMPLE_ACCOUNT_NUMBER: ${{ secrets.DNSIMPLE_ACCOUNT_NUMBER }}
23+
# DNSIMPLE_API_KEY: ${{ secrets.DNSIMPLE_API_KEY }}

0 commit comments

Comments
 (0)