mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-23 05:31:42 +00:00
fix dns check
This commit is contained in:
parent
c8ee9e6447
commit
e7a6c17260
8
.github/workflows/DNS.yml
vendored
8
.github/workflows/DNS.yml
vendored
@ -20,12 +20,12 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
hasToken: ${{ steps.step_one.outputs.hasToken }}
|
hasToken: ${{ steps.step_one.outputs.hasToken }}
|
||||||
env:
|
env:
|
||||||
${{ secrets.TokenName1 }} : ${{ secrets.TokenValue1 }}
|
_ACME_CHECK_TOKEN_${{ secrets.TokenName1 }} : ${{ secrets.TokenValue1 }}
|
||||||
steps:
|
steps:
|
||||||
- name: Set the value
|
- name: Set the value
|
||||||
id: step_one
|
id: step_one
|
||||||
run: |
|
run: |
|
||||||
if [ "$${{ secrets.TokenName1 }}" ] ; then
|
if [ "$_ACME_CHECK_TOKEN_${{ secrets.TokenName1}}" ] ; then
|
||||||
echo "::set-output name=hasToken::true"
|
echo "::set-output name=hasToken::true"
|
||||||
else
|
else
|
||||||
echo "::set-output name=hasToken::false"
|
echo "::set-output name=hasToken::false"
|
||||||
@ -36,9 +36,9 @@ jobs:
|
|||||||
Fail:
|
Fail:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: CheckToken
|
needs: CheckToken
|
||||||
if: "${{needs.CheckToken.outputs.hasToken}} == 'false'"
|
if: "contains(needs.CheckToken.outputs.hasToken, 'false')"
|
||||||
steps:
|
steps:
|
||||||
- name: Show help page
|
- name: "Read this: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
|
||||||
run: |
|
run: |
|
||||||
echo "Plese see this page to fix the error: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
|
echo "Plese see this page to fix the error: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
|
||||||
- name: Fail
|
- name: Fail
|
||||||
|
Loading…
Reference in New Issue
Block a user