Skip to content

Commit afe75dd

Browse files
authored
feat(doc): remote unused step (#701)
1 parent b406e4a commit afe75dd

File tree

1 file changed

+23
-21
lines changed

1 file changed

+23
-21
lines changed

.github/workflows/document-deploy.yml

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
uses: actions/setup-node@v4
4949
with:
5050
node-version: 18
51+
cache-dependency-path: documentation/yarn.lock
52+
cache: yarn
5153

5254
- name: Build VitePress site
5355
working-directory: documentation
@@ -62,24 +64,24 @@ jobs:
6264
build_dir: documentation/docs/.vitepress/dist/
6365
fqdn: cosid.ahoo.me
6466

65-
- name: Build VitePress site with SITE_BASE
66-
working-directory: documentation
67-
env:
68-
SITE_BASE: /cosid/
69-
run: yarn add -D vitepress && yarn run docs:build
70-
71-
- name: Deploy to gh-pages-with-site-base
72-
uses: crazy-max/ghaction-github-pages@v4
73-
env:
74-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
75-
with:
76-
target_branch: gh-pages-with-site-base
77-
build_dir: documentation/docs/.vitepress/dist/
78-
79-
- name: Sync to Gitee
80-
uses: wearerequired/git-mirror-action@master
81-
env:
82-
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
83-
with:
84-
source-repo: "git@github.com:Ahoo-Wang/CosId.git"
85-
destination-repo: "git@gitee.com:AhooWang/CosId.git"
67+
# - name: Build VitePress site with SITE_BASE
68+
# working-directory: documentation
69+
# env:
70+
# SITE_BASE: /cosid/
71+
# run: yarn add -D vitepress && yarn run docs:build
72+
#
73+
# - name: Deploy to gh-pages-with-site-base
74+
# uses: crazy-max/ghaction-github-pages@v4
75+
# env:
76+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
# with:
78+
# target_branch: gh-pages-with-site-base
79+
# build_dir: documentation/docs/.vitepress/dist/
80+
#
81+
# - name: Sync to Gitee
82+
# uses: wearerequired/git-mirror-action@master
83+
# env:
84+
# SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
85+
# with:
86+
# source-repo: "git@github.com:Ahoo-Wang/CosId.git"
87+
# destination-repo: "git@gitee.com:AhooWang/CosId.git"

0 commit comments

Comments
 (0)