From b88134d13b8d5296cd5d80206a44dc5f1d1351ae Mon Sep 17 00:00:00 2001 From: Carneiro Date: Sun, 24 Nov 2024 08:39:48 -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 7e28fbd..e5eb359 100644 --- a/action.yml +++ b/action.yml @@ -41,10 +41,10 @@ runs: # if site is not there yet, clone it [ -d "${SITES_DIR}/${SITE_DIRNAME}" ] || - sg www-data -c "git clone https://git.alice.ufsj.edu.br/$REPO_NAME" + sudo -u www-data "git clone https://git.alice.ufsj.edu.br/$REPO_NAME" cd "${SITES_DIR}/${SITE_DIRNAME}" - git pull + sudo -u www-data git pull [ $SKIP_BUILD != false ] && exit 0 - bundle install - make deploy + sudo -u www-data bundle install + sudo -u www-data make deploy