Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
e7a6c172
Commit
e7a6c172
authored
Sep 11, 2020
by
neil
Browse files
fix dns check
parent
c8ee9e64
Changes
1
Show whitespace changes
Inline
Side-by-side
.github/workflows/DNS.yml
View file @
e7a6c172
...
...
@@ -20,12 +20,12 @@ jobs:
outputs
:
hasToken
:
${{ steps.step_one.outputs.hasToken }}
env
:
${{ secrets.TokenName1 }}
:
${{ secrets.TokenValue1 }}
_ACME_CHECK_TOKEN_
${{ secrets.TokenName1 }}
:
${{ secrets.TokenValue1 }}
steps
:
-
name
:
Set the value
id
:
step_one
run
:
|
if [ "$${{ secrets.TokenName1
}}" ] ; then
if [ "$
_ACME_CHECK_TOKEN_
${{ secrets.TokenName1}}" ] ; then
echo "::set-output name=hasToken::true"
else
echo "::set-output name=hasToken::false"
...
...
@@ -36,9 +36,9 @@ jobs:
Fail
:
runs-on
:
ubuntu-latest
needs
:
CheckToken
if
:
"
${{
needs.CheckToken.outputs.hasToken
}}
==
'false'"
if
:
"
contains(
needs.CheckToken.outputs.hasToken
,
'false'
)
"
steps
:
-
name
:
Show help page
-
name
:
"
Read
this:
https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
run
:
|
echo "Plese see this page to fix the error: https://github.com/acmesh-official/acme.sh/wiki/DNS-API-Test"
-
name
:
Fail
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment