Snapshot 24w48a 新增网络延迟配置。优化海钓部分耐心使用 #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload to COS | |
on: [push] | |
jobs: | |
UploadCOS: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Install coscmd | |
run: sudo pip install coscmd | |
- name: Configure coscmd | |
env: | |
SECRET_ID: ${{ secrets.TENCENT_SECRET_ID }} | |
SECRET_KEY: ${{ secrets.TENCENT_SECRET_KEY }} | |
BUCKET: missfisher-1331276814 | |
REGION: ap-guangzhou | |
run: coscmd config -a $SECRET_ID -s $SECRET_KEY -b $BUCKET -r $REGION | |
- name: Upload | |
run: coscmd upload -rfs --delete ./ / --ignore "./.git/*" |