Skip to content

Commit

Permalink
Update DeployDocs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored Dec 8, 2024
1 parent b9a1c6d commit 79de15f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/DeployDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ jobs:
uses: actions/configure-pages@v5
- name: Fix Symlinks for Vitepress
run: |
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 ..' {} \;
ls -al;
find -type l -exec bash -c 'dir="$0"; url="thofma.com\/Hecke.jl\/"; newlnk="$url${dir:2}"; lnk="$(readlink -m "$0")"; orglnk="$url$(basename $lnk)"; echo "$newlnk <--> $orglnk"; rm "$0"; cp -r $lnk "$0"; cd "$0"; grep "$orglnk" . -lr | xargs sed -i "s/$orglnk/$newlnk/g"; cd ..' {} \;
#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 ..' {} \;
# ls -al;
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
Expand Down

0 comments on commit 79de15f

Please sign in to comment.