Skip to content

Commit

Permalink
Change Workflow file.
Browse files Browse the repository at this point in the history
Still Try to fix typefiles missing.
  • Loading branch information
M1hono committed Sep 17, 2024
1 parent 59f5017 commit 01ef087
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
TYPE_REPO_TOKEN: ${{ secrets.TYPE_REPO_TOKEN }}
run: |
git clone --depth 1 https://${TYPE_REPO_TOKEN}@github.com/M1hono/CrychicDocTypes.git type_repo
cp -r type_repo/typefiles ./typefiles # 确保 typefiles 被复制到根目录
ls -l type_repo # 检查是否成功 clone 仓库
cp -r type_repo/typefiles ./typefiles # 确保 typefiles 被复制到根目录
ls -l ./typefiles # 检查 typefiles 是否存在于根目录
rm -rf type_repo
setup-and-build:
Expand Down Expand Up @@ -46,7 +48,9 @@ jobs:
sudo chmod -R 777 node_modules
- name: Ensure typefiles remain in root directory
run: cp -r ./typefiles ./ # 确保 typefiles 保持在根目录
run: |
ls -l ./typefiles # 再次检查 typefiles 是否在根目录
cp -r ./typefiles ./ # 确保 typefiles 保持在根目录
- name: Build VitePress site
run: |
Expand Down

0 comments on commit 01ef087

Please sign in to comment.