8 lines
167 B
Text
8 lines
167 B
Text
|
#!/bin/sh
|
||
|
|
||
|
SERVER_DIR=/opt/container-server
|
||
|
|
||
|
cd $SERVER_DIR
|
||
|
# Do a git pull but only log if anything was updated.
|
||
|
git pull | grep -v "Already up to date." || return 0
|