Update action.yml

This commit is contained in:
Carneiro 2024-11-24 08:39:48 -03:00
parent 1a6ff54d11
commit b88134d13b
1 changed files with 4 additions and 4 deletions

View File

@ -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