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