diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ae83b383..4894f172e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,21 +29,20 @@ jobs: rm -rf doc_from/* rm check-link.js mv doc_to site - - - name: Delete And Push - run: | - sudo apt-get update - sudo apt-get install jq - cd ../ - git clone https://.:${{ secrets.P_GITHUB_TOKEN }}@github.com/milvus-io/docs.git target - git config --global user.email "Milvus-doc-bot@zilliz.com" - git config --global user.name "Milvus-doc-bot" - cp ./milvus-docs/version.json ./target - cd target - rm -rf `cat version.json | jq -r .version` - mkdir `cat version.json | jq -r .version` - cp -avr ../milvus-docs/** ./`cat version.json | jq -r .version` - git add . - git commit -m "Release new docs " - git push -f origin master + - name: Delete And Push + run: | + sudo apt-get update + sudo apt-get install jq + cd ../ + git clone https://.:${{ secrets.P_GITHUB_TOKEN }}@github.com/milvus-io/docs.git target + git config --global user.email "Milvus-doc-bot@zilliz.com" + git config --global user.name "Milvus-doc-bot" + cp ./milvus-docs/version.json ./target + cd target + rm -rf `cat version.json | jq -r .version` + mkdir `cat version.json | jq -r .version` + cp -avr ../milvus-docs/** ./`cat version.json | jq -r .version` + git add . + git commit -m "Release new docs " + git push -f origin master