Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
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:
...
@@ -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:
...
@@ -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
...
...
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