7 lines
167 B
Bash
Executable file
7 lines
167 B
Bash
Executable file
#!/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
|