remove ZeroSSL test
This commit is contained in:
parent
f405f4bbc4
commit
6f62995c96
48
.github/workflows/ZeroSSL.yml
vendored
48
.github/workflows/ZeroSSL.yml
vendored
@ -1,48 +0,0 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user