revert: workflow
This commit is contained in:
parent
3e8ffb6963
commit
3436431cfd
|
@ -20,17 +20,17 @@ 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 }}
|
||||
|
|
Loading…
Reference in New Issue