blob: 757ee960d061eb9eb79654dfef829acd361582d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
echo "Deploying news file..."
scp -4 -P 22 feed.xml jesusalva@213.202.247.189:/home/jesusalva/http/
scp -4 -P 22 ../update/news.txt jesusalva@213.202.247.189:/home/jesusalva/http/updates/
echo "Begin - Gameinfo updater. User input required."
cd ../../gameinfo-api
cd serverdata
git pull --rebase -X theirs
cd ..
cd clientdata
git pull --rebase -X theirs
cd ..
git commit -a
git push
echo "Gameinfo updated! Mission complete!"
|