mirror of
https://github.com/koenrh/dnscontrol-action.git
synced 2025-01-06 07:12:49 +08:00
30 lines
605 B
YAML
30 lines
605 B
YAML
---
|
|
name: Test
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
eslint:
|
|
name: ESLint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Run ESLint
|
|
uses: koenrh/actions/eslint@master
|
|
with:
|
|
args: dnsconfig.js
|
|
|
|
dnscontrol:
|
|
name: DNSControl
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Preview
|
|
uses: koenrh/dnscontrol-action@v3
|
|
env:
|
|
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
|
|
CLOUDFLARE_API_USER: ${{ secrets.CLOUDFLARE_API_USER }}
|
|
with:
|
|
args: preview
|