dnscontrol-action/examples/test-pull-request.yml
2020-02-15 16:58:25 +01:00

30 lines
616 B
YAML

---
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
env:
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
CLOUDFLARE_API_USER: ${{ secrets.CLOUDFLARE_API_USER }}
with:
args: preview