Snapshot 25w07b 更新多语言文本 #338
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-22.04 | |
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/*" |