From d7e5b21e648f157cc872fad9df1f723666e62b41 Mon Sep 17 00:00:00 2001 From: Carneiro Date: Fri, 4 Apr 2025 15:23:45 -0300 Subject: [PATCH] Update action.yml --- action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 6a442e5..4d7549b 100644 --- a/action.yml +++ b/action.yml @@ -61,13 +61,13 @@ runs: # If site is not there yet, clone it [ -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 cd "${SOURCE_DIR}/${SITE_DIRNAME}" - git pull + sudo -u www-data git pull # Build [ $SKIP_BUILD != false ] && exit 0 - bundle install - bundle exec jekyll build $JEKYLL_ARGS --destination=$DEST_DIR/$OUTPUT_DIRNAME + sudo -u www-data bundle install + sudo -u www-data bundle exec jekyll build $JEKYLL_ARGS --destination=$DEST_DIR/$OUTPUT_DIRNAME