Update action.yml
This commit is contained in:
parent
1a6ff54d11
commit
b88134d13b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue