Skip to content

Commit

Permalink
Update build_and_deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ljxi committed Oct 1, 2023
1 parent c2abf54 commit cad98e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
run: |
pip install coscmd
echo "Sync to tencent cos..."
cd dist
coscmd config -a ${{ secrets.SECRET_ID }} -s ${{ secrets.SECRET_KEY }} -b ${{ secrets.BUCKET }} -e cos.accelerate.myqcloud.com -m 30
coscmd upload -rs ./dist / --ignore "./.git/*","./.github/*","./README.md"
coscmd upload -rs ./ / --ignore "./.git/*","./.github/*","./README.md"
coscmd abort
echo "Delete old files..."
curl https://raw.githubusercontent.com/ljxi/Sync-to-tencent-cos/main/Delete-old-files.py -o ./Delete-old-files.py
Expand Down

0 comments on commit cad98e8

Please sign in to comment.