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
6f62995c
Commit
6f62995c
authored
Sep 06, 2020
by
neil
Browse files
remove ZeroSSL test
parent
f405f4bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/ZeroSSL.yml
deleted
100644 → 0
View file @
f405f4bb
name
:
ZeroSSL
on
:
push
:
branches
:
-
'
*'
paths
:
-
'
**.sh'
-
'
**.yml'
jobs
:
CheckToken
:
runs-on
:
ubuntu-latest
outputs
:
hasToken
:
${{ steps.step_one.outputs.hasToken }}
env
:
NGROK_TOKEN
:
${{ secrets.NGROK_TOKEN }}
steps
:
-
name
:
Set the value
id
:
step_one
run
:
|
if [ "$NGROK_TOKEN" ] ; then
echo "::set-output name=hasToken::true"
else
echo "::set-output name=hasToken::false"
fi
-
name
:
Check the value
run
:
echo ${{ steps.step_one.outputs.hasToken }}
ZeroSSL
:
runs-on
:
ubuntu-latest
needs
:
CheckToken
if
:
"
contains(needs.CheckToken.outputs.hasToken,
'true')"
env
:
ACME_DIRECTORY
:
https://acme.zerossl.com/v2/DV90
TEST_LOCAL
:
1
TEST_CA
:
"
ZeroSSL"
NGROK_TOKEN
:
${{ secrets.NGROK_TOKEN }}
ACCOUNT_EMAIL
:
githubCI@acme.sh
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Install tools
run
:
sudo apt-get install -y socat
-
name
:
Clone acmetest
run
:
cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
name
:
Run acmetest
run
:
cd ../acmetest && sudo --preserve-env ./letest.sh
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