revert: workflow

This commit is contained in:
CPunisher 2023-06-22 01:56:54 +08:00
parent 3e8ffb6963
commit 3436431cfd
1 changed files with 4 additions and 4 deletions

View File

@ -20,18 +20,18 @@ jobs:
node-version: "12.x"
- name: Build project
run: yarn && yarn generate
run: yarn && yarn build
env:
CI: false
- name: Authenticate
run: sudo chmod 775 ./.output/public/ && ls
run: sudo chmod 775 ./build/ && ls
- name: Upload COS
uses: ciaochaos/tencent-cos-action@master
with:
args: delete -r -f / && upload -r ./.output/public/ /
args: delete -r -f / && upload -r ./build/ /
secret_id: ${{ secrets.SECRET_ID }}
secret_key: ${{ secrets.SECRET_KEY }}
bucket: ${{ secrets.BUCKET }}
region: ap-shanghai
region: ap-shanghai