From 04b1abfed32a2957d61a3cbcf72f15d8ac3a26b7 Mon Sep 17 00:00:00 2001 From: nameczz Date: Wed, 12 May 2021 11:24:52 +0800 Subject: [PATCH] fix ci --- .github/workflows/ci.yml | 14 +------------- .github/workflows/pre.yml | 3 ++- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7da507d51..6b0468dfe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,24 +24,12 @@ jobs: - name: Md2md run: | mv site doc_from - sudo npm install mdtomd -g + sudo npm install @zilliz/mdtomd -g goover rm -rf doc_from/* rm check-link.js mv doc_to site - - name: Update version - env: - URL: ${{ secrets.VESION_URL }} - VESION_TOKEN: ${{ secrets.VESION_TOKEN }} - run: | - echo - curl \ - -X POST \ - $URL \ - -H "Content-Type: application/json" \ - --data '{ "name": "milvus", "version": "'"${GITHUB_REF#refs/tags/}"'", "commit": "'"${GITHUB_SHA::8}"'", "token": "'"$VESION_TOKEN"'",from: "'milvus-docs'" }' - - name: Delete And Push run: | sudo apt-get update diff --git a/.github/workflows/pre.yml b/.github/workflows/pre.yml index 3bf477ef3..71f8374d2 100644 --- a/.github/workflows/pre.yml +++ b/.github/workflows/pre.yml @@ -24,11 +24,12 @@ jobs: - name: Md2md run: | mv site doc_from - sudo npm install md2md -g + sudo npm install @zilliz/mdtomd -g goover rm -rf doc_from/* rm check-link.js mv doc_to site + - name: Delete And Push run: | sudo apt-get update