From 9b5ab94ce57e775750b8d3abc5c8c056a69ee420 Mon Sep 17 00:00:00 2001 From: Yobe Zhou <33565334+YobeZhou@users.noreply.github.com> Date: Thu, 28 Sep 2023 15:21:12 +0800 Subject: [PATCH] Update docs.yml --- .github/workflows/docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c3dbaef..b249e86 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,7 +34,8 @@ jobs: run: pnpm install --frozen-lockfile - name: Build documentation site - run: pnpm docs:release + run: | + pnpm docs:release git clone https://${{secrets.CODING_USERNAME}}:${{secrets.CODING_PASSWD}}@e.coding.net/weidongshan/vuepress-next-docs/rtos.git --branch master --single-branch master --depth=1 echo "ls master" && ls master cp -r docs/.vuepress/dist/* master @@ -46,7 +47,7 @@ jobs: git add . git commit -m "Update documentation" -a || true git push origin master - cd - + ls && cd - && ls - name: Deploy to GitHub Pages uses: crazy-max/ghaction-github-pages@v2.2.0