fix check token
This commit is contained in:
parent
cceafe50bf
commit
6f1ca0ed59
4
.github/workflows/DNS.yml
vendored
4
.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"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user