mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-06-06 08:11:54 +00:00
9 lines
124 B
Bash
Executable File
9 lines
124 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# init hugo if dir is empty
|
|
if ! [ "$(ls -A /blog )" ]; then
|
|
hugo new site /blog
|
|
fi
|
|
|
|
hugo server --bind 0.0.0.0
|