Update action.yml
This commit is contained in:
1 parent
1a6ff54d11
commit
b88134d13b
1 file changed
+4
-4
+4
-4
@@ -41,10 +41,10 @@ runs:
|
|||||||
|
|
||||||
# if site is not there yet, clone it
|
# if site is not there yet, clone it
|
||||||
[ -d "${SITES_DIR}/${SITE_DIRNAME}" ] ||
|
[ -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}"
|
cd "${SITES_DIR}/${SITE_DIRNAME}"
|
||||||
git pull
|
sudo -u www-data git pull
|
||||||
[ $SKIP_BUILD != false ] && exit 0
|
[ $SKIP_BUILD != false ] && exit 0
|
||||||
bundle install
|
sudo -u www-data bundle install
|
||||||
make deploy
|
sudo -u www-data make deploy
|
||||||
Reference in new issue
Block a user