Yongmin Hong
405c1968b7
Summary: and remove outdated info Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: read the docs ™️ Reviewers: O1 revi & code reviewers, revi Reviewed By: O1 revi & code reviewers, revi Differential Revision: https://issuetracker.revi.xyz/D56
20 lines
650 B
Bash
20 lines
650 B
Bash
#!/bin/bash
|
|
cd ~/sandbox
|
|
git pull origin master
|
|
cd /var/www/phorge/phorge
|
|
sudo service phorge-phd stop
|
|
sudo service apache2 stop
|
|
sudo -u www-data git checkout stable
|
|
sudo -u www-data git pull origin stable
|
|
# cd ../libphutil
|
|
# sudo -u www-data git checkout stable
|
|
# sudo -u www-data git pull origin stable
|
|
cd ../arcanist
|
|
sudo -u www-data git checkout stable
|
|
sudo -u www-data git pull origin stable
|
|
cd /var/www/phorge/phorge/src/extensions
|
|
sudo -u www-data cp /home/revi/sandbox/PhabExt/PhabricatorCustomRobotsTxtController.php .
|
|
cd /var/www/phorge/phorge
|
|
sudo -u www-data ./bin/storage upgrade
|
|
sudo service phorge-phd start
|
|
sudo service apache2 start
|