Files
nginx-php-fpm/pull
2015-06-25 11:07:16 +00:00

19 lines
334 B
Bash
Executable File

#!/bin/bash
if [ -z "$GIT_EMAIL" ]; then
echo "You need to pass the \$GIT_EMAIL variable to the container for this to work"
exit
else
echo $GIT_EMAIL
fi
if [ -z "$GIT_NAME" ]; then
echo "You need to pass the \$GIT_NAME variable to the container for this to work"
exit
else
echo $GIT_NAME
fi
cd /usr/share/nginx/html
git pull