diff --git a/.github/workflows/nodejs-master.yml b/.github/workflows/nodejs-master.yml index f3f14fe..3e45018 100644 --- a/.github/workflows/nodejs-master.yml +++ b/.github/workflows/nodejs-master.yml @@ -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 \ No newline at end of file