remove travis

This commit is contained in:
neil
2020-08-27 22:17:10 +08:00
parent 8017774bf3
commit e087bccd33
3 changed files with 30 additions and 53 deletions

30
.github/workflows/LetsEncrypt.yml vendored Normal file
View File

@ -0,0 +1,30 @@
name: LetsEncrypt
on: [push, pull_request]
jobs:
Ubuntu:
runs-on: ubuntu-latest
env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
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 && ./letest.sh
MacOS:
needs: Ubuntu
runs-on: macos-latest
env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Install tools
run: brew update && brew install 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 && ./letest.sh

View File

@ -1,16 +0,0 @@
name: Ubuntu
on: [push, pull_request]
jobs:
Ubuntu:
runs-on: ubuntu-latest
env:
NGROK_TOKEN : ${{ secrets.NGROK_TOKEN }}
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 && ./letest.sh