You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/sh -e |
|
|
|
cd /var/www/cyberia.club |
|
prev=$(git rev-list HEAD -n 1) |
|
git pull --rebase |
|
cur=$(git rev-list HEAD -n 1) |
|
|
|
if [ "$prev" != "$cur" ]; then |
|
git pull |
|
./make |
|
fi |
|
|
|
|