2016-12-30 19:30:38 +01:00
|
|
|
#!/bin/bash
|
2024-05-08 11:29:57 +02:00
|
|
|
cd ~/sandbox
|
|
|
|
git pull origin master
|
|
|
|
cd /var/www/phorge/phorge
|
|
|
|
sudo service phorge-phd stop
|
2016-12-30 19:30:38 +01:00
|
|
|
sudo service apache2 stop
|
2020-12-31 23:21:30 +01:00
|
|
|
sudo -u www-data git checkout stable
|
|
|
|
sudo -u www-data git pull origin stable
|
2024-05-08 11:29:57 +02:00
|
|
|
# cd ../libphutil
|
|
|
|
# sudo -u www-data git checkout stable
|
|
|
|
# sudo -u www-data git pull origin stable
|
2016-12-30 19:30:38 +01:00
|
|
|
cd ../arcanist
|
2020-12-31 23:21:30 +01:00
|
|
|
sudo -u www-data git checkout stable
|
|
|
|
sudo -u www-data git pull origin stable
|
2024-05-08 11:29:57 +02:00
|
|
|
cd /var/www/phorge/phorge/src/extensions
|
|
|
|
sudo -u www-data cp /home/revi/sandbox/PhabExt/PhabricatorCustomRobotsTxtController.php .
|
|
|
|
cd /var/www/phorge/phorge
|
2020-12-31 23:21:30 +01:00
|
|
|
sudo -u www-data ./bin/storage upgrade
|
2024-05-08 11:29:57 +02:00
|
|
|
sudo service phorge-phd start
|
2016-12-30 19:30:38 +01:00
|
|
|
sudo service apache2 start
|