--preserve-env

This commit is contained in:
neil 2020-08-30 23:26:10 +08:00
parent 45cf5c4c0f
commit 41754c92c3

View File

@ -46,7 +46,7 @@ jobs:
- name: Clone acmetest - name: Clone acmetest
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
- name: Run acmetest - name: Run acmetest
run: cd ../acmetest && sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh run: cd ../acmetest && sudo --preserve-env ./letest.sh
MacOS: MacOS:
runs-on: macos-latest runs-on: macos-latest
@ -61,7 +61,7 @@ jobs:
- name: Clone acmetest - name: Clone acmetest
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
- name: Run acmetest - name: Run acmetest
run: cd ../acmetest && sudo TEST_LOCAL="$TEST_LOCAL" NGROK_TOKEN="$NGROK_TOKEN" ./letest.sh run: cd ../acmetest && sudo --preserve-env ./letest.sh
Windows: Windows:
runs-on: windows-latest runs-on: windows-latest