Browse Source

Fuckin deploy script

Thomas Buck 12 years ago
parent
commit
48df5c56d2
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      deploy

+ 2
- 2
deploy View File

3
 git reset --hard
3
 git reset --hard
4
 
4
 
5
 /home/thomas/poole/poole.py --build
5
 /home/thomas/poole/poole.py --build
6
-echo "lollipop123Tunguska" | sudo -S cp -r output/* /var/www/
7
-echo "lollipop123Tunguska" | sudo -S cp -r static/* /var/www/
6
+echo "lollipop123Tunguska" | sudo -S cp -r /home/thomas/poole/output/* /var/www/
7
+echo "lollipop123Tunguska" | sudo -S cp -r /home/thomas/poole/static/* /var/www/
8
 
8
 
9
 host=`hostname`
9
 host=`hostname`
10
 /home/thomas/bin/notify "Deployed to ${host}"
10
 /home/thomas/bin/notify "Deployed to ${host}"

Loading…
Cancel
Save