dnscontrol-action/examples/test.yml

31 lines
605 B
YAML
Raw Normal View History

2019-10-13 01:59:38 +08:00
---
name: Test
on: pull_request
jobs:
eslint:
name: ESLint
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: Run ESLint
uses: koenrh/actions/eslint@master
with:
args: dnsconfig.js
dnscontrol:
name: 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: Preview
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: preview