Skip to content

Commit

Permalink
Fix Workflow.
Browse files Browse the repository at this point in the history
Try tp Fix TypeFiles.
  • Loading branch information
M1hono committed Sep 17, 2024
1 parent 7fd70c6 commit 59f5017
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ 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 .
cp -r type_repo/typefiles ./typefiles # 确保 typefiles 被复制到根目录
rm -rf type_repo
setup-and-build:
Expand All @@ -45,6 +45,9 @@ jobs:
sudo chmod -R 777 .vitepress
sudo chmod -R 777 node_modules
- name: Ensure typefiles remain in root directory
run: cp -r ./typefiles ./ # 确保 typefiles 保持在根目录

- name: Build VitePress site
run: |
export NVM_DIR="$HOME/.nvm"
Expand Down

0 comments on commit 59f5017

Please sign in to comment.