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

31 lines
616 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
uses: koenrh/dnscontrol-action@v2.11
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