mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-07 08:31:55 +00:00
14 lines
257 B
Bash
Executable File
14 lines
257 B
Bash
Executable File
#! /bin/bash
|
|
|
|
git config --global user.email $GIT_EMAIL
|
|
git config --global user.name $GIT_NAME
|
|
|
|
if [ "$1" = "server" ]; then
|
|
# start hexo server
|
|
echo "starting hexo..."
|
|
hexo server
|
|
else
|
|
# do nothing, just wait
|
|
while true; do sleep 1000; done
|
|
fi
|