Browse Source

fix filter

pull/3175/head
neil 5 years ago
parent
commit
b0d357db53
  1. 25
      .github/workflows/DNS.yml

25
.github/workflows/DNS.yml

@ -2,16 +2,17 @@ name: DNS
on:
push:
branches:
- '*'
- 'dev'
paths:
- '**.sh'
- '**.yml'
- 'dnsapi/*.sh'
- '.github/workflows/DNS.yml'
pull_request:
branches:
- '*'
- 'dev'
paths:
- '**.sh'
- '**.yml'
- 'dnsapi/*.sh'
- '.github/workflows/DNS.yml'
jobs:
CheckToken:
@ -32,6 +33,18 @@ jobs:
- name: Check the value
run: echo ${{ steps.step_one.outputs.hasToken }}
Fail:
runs-on: ubuntu-latest
needs: CheckToken
if: "${{needs.CheckToken.outputs.hasToken}} == 'false'"
steps:
- name: Show help page
run: |
echo "Plese see this page to fix the error: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
- name: Fail
if: "github.actor != 'Neilpang'"
run: false
Docker:
runs-on: ubuntu-latest
needs: CheckToken

Loading…
Cancel
Save