Skip to content

Commit

Permalink
add post-build hook
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealOne78 committed Aug 7, 2024
1 parent ecdde20 commit 38c7cd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions _plugins/post_build_hook.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Jekyll::Hooks.register :site, :post_write do |site|
system("sh _scripts/post_sym_ln.sh")
system("sh resources/advguild/advguild-sync.sh")
end
2 changes: 1 addition & 1 deletion _scripts/post_sym_ln.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
cd ./_site/ || exit 1

# Link
for d in "advguildRoot/" "gameRes/TIC TAC TOE" "mc/" "music.git/" "torrents/" "uploads/" ; do
for d in "advguildRoot" "gameRes/TIC TAC TOE" "mc" "music.git" "torrents" "uploads" ; do
ln --symbolic --relative "../${d}" "${d}"
done

0 comments on commit 38c7cd0

Please sign in to comment.