You've already forked go-template-container-webserver
This commit is contained in:
@@ -9,3 +9,8 @@ fi
|
|||||||
if [ ! -f "config.yaml" ]; then
|
if [ ! -f "config.yaml" ]; then
|
||||||
cp config.yaml.example config.yaml
|
cp config.yaml.example config.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "go.mod" ]; then
|
||||||
|
module_name=$(git remote get-url origin | sed 's|^https://||')
|
||||||
|
go mod init "$module_name"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user