Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nameczz committed May 12, 2021
1 parent c55f500 commit 04b1abf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04b1abf

Please sign in to comment.