dnscontrol-action/examples/test-pull-request.yml

31 lines
613 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:
- uses: actions/checkout@master
- name: Run ESLint
uses: koenrh/actions/eslint@master
with:
args: dnsconfig.js
dnscontrol:
name: DNSControl
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- 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