Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nameczz committed Jul 21, 2020
1 parent 33a0746 commit 3a472ee
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
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 "[email protected]"
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

0 comments on commit 3a472ee

Please sign in to comment.