fix(github actions): fix site.sh

This commit is contained in:
focused_xy 2024-10-13 14:37:07 +08:00
parent fead9bd0a7
commit e4527915a0
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ CODE_DIR="$WORK_DIR/Others/Codes"
JEKLLY_TOOL_DIR="$WORK_DIR/Tools/ghpages-mini-fileserver"
cp -r "$CODE_DIR" "$JEKLLY_TOOL_DIR/resources"
bash "$JEKLLY_TOOL_DIR/prenodes.sh"
cd "$JEKLLY_TOOL_DIR" && bundle exec jekyll build --baseurl "$1"
cd "$JEKLLY_TOOL_DIR" && bundle install && bundle exec jekyll build --baseurl "$1"
cp -r "$JEKLLY_TOOL_DIR/_site" "$SITE_DIR"