Tidy up directory structure
This commit is contained in:
14
scripts/pull
Executable file
14
scripts/pull
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z "$GIT_EMAIL" ]; then
|
||||
echo "You need to pass the \$GIT_EMAIL variable to the container for this to work"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ -z "$GIT_NAME" ]; then
|
||||
echo "You need to pass the \$GIT_NAME variable to the container for this to work"
|
||||
exit
|
||||
fi
|
||||
|
||||
cd /usr/share/nginx/html
|
||||
git pull
|
||||
Reference in New Issue
Block a user