Loading .github/workflows/vuepress-deploy.yml +27 −2 Changes for .github/workflows/vuepress-deploy.yml: 27 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ jobs: name: 'sustech-online-build' path: './docs/.vuepress/dist/' deploy: name: Deploy site deploy-on-master: name: Deploy site (master) runs-on: "ubuntu-latest" needs: build if: always() && github.repository_owner == 'SUSTech-CRA' && github.ref == 'refs/heads/master' Loading Loading @@ -98,3 +98,28 @@ jobs: run: | ossutil rm -rf oss://perf-sustech-online/* ossutil cp -rf docs/.vuepress/dist/ oss://perf-sustech-online/ deploy-on-perf: name: Deploy site (perf) runs-on: "ubuntu-latest" needs: build if: always() && github.repository_owner == 'SUSTech-CRA' && github.ref == 'refs/heads/perf' steps: - uses: actions/download-artifact@v2 with: name: sustech-online-build path: "./docs/.vuepress/dist/" - name: Display structure of downloaded files run: ls -R working-directory: "./docs/.vuepress/dist/" - name: copy file to server PVG uses: burnett01/rsync-deployments@5.0 with: switches: -avzr --delete path: "./docs/.vuepress/dist/" remote_path: ${{ secrets.HTML_PATH_PERF }} remote_host: ${{ secrets.HOST }} remote_user: ${{ secrets.USERNAME }} remote_key: ${{ secrets.SSH_KEY }} README.md +3 −0 Changes for README.md: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -27,3 +27,6 @@ Online manual for SUSTecher. * 使用 Markdown 和 raw HTML / JavaScript 语言 ### 版本说明 * 正式线上版本(master 分支构建):https://sustech.online/ * 预发测试版本(perf 分支构建):https://perf.sustech.online/ Loading
.github/workflows/vuepress-deploy.yml +27 −2 Changes for .github/workflows/vuepress-deploy.yml: 27 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ jobs: name: 'sustech-online-build' path: './docs/.vuepress/dist/' deploy: name: Deploy site deploy-on-master: name: Deploy site (master) runs-on: "ubuntu-latest" needs: build if: always() && github.repository_owner == 'SUSTech-CRA' && github.ref == 'refs/heads/master' Loading Loading @@ -98,3 +98,28 @@ jobs: run: | ossutil rm -rf oss://perf-sustech-online/* ossutil cp -rf docs/.vuepress/dist/ oss://perf-sustech-online/ deploy-on-perf: name: Deploy site (perf) runs-on: "ubuntu-latest" needs: build if: always() && github.repository_owner == 'SUSTech-CRA' && github.ref == 'refs/heads/perf' steps: - uses: actions/download-artifact@v2 with: name: sustech-online-build path: "./docs/.vuepress/dist/" - name: Display structure of downloaded files run: ls -R working-directory: "./docs/.vuepress/dist/" - name: copy file to server PVG uses: burnett01/rsync-deployments@5.0 with: switches: -avzr --delete path: "./docs/.vuepress/dist/" remote_path: ${{ secrets.HTML_PATH_PERF }} remote_host: ${{ secrets.HOST }} remote_user: ${{ secrets.USERNAME }} remote_key: ${{ secrets.SSH_KEY }}
README.md +3 −0 Changes for README.md: 3 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -27,3 +27,6 @@ Online manual for SUSTecher. * 使用 Markdown 和 raw HTML / JavaScript 语言 ### 版本说明 * 正式线上版本(master 分支构建):https://sustech.online/ * 预发测试版本(perf 分支构建):https://perf.sustech.online/