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