dnscontrol-action/examples/deploy.yml

22 lines
401 B
YAML
Raw Normal View History

2019-10-13 01:59:38 +08:00
---
name: deploy
on:
push:
branches:
2020-07-26 19:29:13 +08:00
- main
2019-10-13 01:59:38 +08:00
jobs:
dnscontrol:
runs-on: ubuntu-latest
steps:
2020-07-26 19:24:20 +08:00
- uses: actions/checkout@v2
2019-10-13 01:59:38 +08:00
- name: DNSControl push
2020-03-28 05:40:51 +08:00
uses: koenrh/dnscontrol-action@v3
2019-10-13 01:59:38 +08:00
env:
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
CLOUDFLARE_API_USER: ${{ secrets.CLOUDFLARE_API_USER }}
with:
args: push