Skip to content

Commit 5d1a203

Browse files
authored
update CI config to fix symbolic links for Vitepress
1 parent a6da4ce commit 5d1a203

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DeployDocs.yml renamed to .github/workflows/FixSymbolicLinks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Deploy GitHub Pages
1+
name: Fix Symbolic Links
22

33
on:
44
# Runs on pushes targeting the default branch
@@ -33,7 +33,7 @@ jobs:
3333
fetch-depth: 0 # Not needed if lastUpdated is not enabled
3434
- name: Setup Pages
3535
uses: actions/configure-pages@v5
36-
- name: Fix Symlinks for Vitepress
36+
- name: Fix Symbolic links for Vitepress
3737
run: |
3838
find -type l -exec bash -c 'dir="$0"; newlnk=${dir:2}; lnk="$(readlink -m "$0")"; orglnk=$(basename $lnk); echo "$newlnk <--> $orglnk"; rm "$0"; cp -r $lnk "$0"; cd "$0"; grep "$orglnk" . -lr | xargs sed -i "s/$orglnk/$newlnk/g"; cd ..' {} \;
3939
ls -al;

0 commit comments

Comments
 (0)