update publish

This commit is contained in:
Neucrack
2022-09-05 18:10:26 +08:00
parent 106ad15b3d
commit b33e698ef0
3 changed files with 4 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ jobs:
git pull origin gh-pages
echo "== upload to cloud server =="
pip3 install qiniu
teedoc-upload --cloud qiniu --bucket ${{ secrets.QINIU_BUCKET }} --access_key ${{ secrets.QINIU_ACCESS_KEY }} --secret_key ${{ secrets.QINIU_SECRET_KEY }} --old ./ ../${out_dir}
teedoc-upload --progress raw --cloud qiniu --bucket ${{ secrets.QINIU_BUCKET }} --access_key ${{ secrets.QINIU_ACCESS_KEY }} --secret_key ${{ secrets.QINIU_SECRET_KEY }} --old ./ ../${out_dir}
echo "== upload to gh-pages for pages service =="
cd ../$out_dir
git init

View File

@@ -46,7 +46,7 @@ jobs:
git pull origin gh-pages
echo "== upload to cloud server =="
pip3 install qiniu
teedoc-upload --cloud qiniu --bucket ${{ secrets.QINIU_BUCKET }} --access_key ${{ secrets.QINIU_ACCESS_KEY }} --secret_key ${{ secrets.QINIU_SECRET_KEY }} ../${out_dir}
teedoc-upload --progress raw --cloud qiniu --bucket ${{ secrets.QINIU_BUCKET }} --access_key ${{ secrets.QINIU_ACCESS_KEY }} --secret_key ${{ secrets.QINIU_SECRET_KEY }} ../${out_dir}
echo "== upload to gh-pages for pages service =="
cd ../$out_dir
git init