fix(github actions): fix site.sh
This commit is contained in:
parent
fead9bd0a7
commit
e4527915a0
2
site.sh
2
site.sh
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue