Update action.yml

This commit is contained in:
Carneiro 2025-04-04 15:23:45 -03:00
parent 84bc8a890c
commit d7e5b21e64
1 changed files with 4 additions and 4 deletions

View File

@ -61,13 +61,13 @@ runs:
# If site is not there yet, clone it # If site is not there yet, clone it
[ -d "${SOURCE_DIR}/${SITE_DIRNAME}" ] || [ -d "${SOURCE_DIR}/${SITE_DIRNAME}" ] ||
git clone https://git.alice.ufsj.edu.br/$REPO_NAME sudo -u www-data git clone https://git.alice.ufsj.edu.br/$REPO_NAME
# Update # Update
cd "${SOURCE_DIR}/${SITE_DIRNAME}" cd "${SOURCE_DIR}/${SITE_DIRNAME}"
git pull sudo -u www-data git pull
# Build # Build
[ $SKIP_BUILD != false ] && exit 0 [ $SKIP_BUILD != false ] && exit 0
bundle install sudo -u www-data bundle install
bundle exec jekyll build $JEKYLL_ARGS --destination=$DEST_DIR/$OUTPUT_DIRNAME sudo -u www-data bundle exec jekyll build $JEKYLL_ARGS --destination=$DEST_DIR/$OUTPUT_DIRNAME