Commit 2dc4c330 authored by liziwl's avatar liziwl
Browse files

update action

parent 31b17555
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -133,10 +133,13 @@ jobs:
        endpoint: oss-cn-shenzhen.aliyuncs.com
        access-key-id: ${{ secrets.OSS_KEY_ID }}
        access-key-secret: ${{ secrets.OSS_KEY_SECRET }}

    - name: cp files to aliyun
      run: |
        ossutil rm -rf oss://perf-sustech-online/*
        ossutil cp -rf docs/.vuepress/dist/ oss://perf-sustech-online/
        ossutil rm -rf "oss://${bucket}/*"
        ossutil cp -rf --job 20 docs/.vuepress/dist/ "oss://${bucket}/"
      env:
        bucket: "perf-sustech-online"

  deploy-on-perf:
    name: Deploy site (perf)