You've already forked go-template-container-webserver
added initialize script
All checks were successful
Update Child Repos / update (push) Successful in 9s
All checks were successful
Update Child Repos / update (push) Successful in 9s
This commit is contained in:
11
initialize.sh
Executable file
11
initialize.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
if [ ! -f ".vars" ]; then
|
||||||
|
cp vars.example .vars
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -f "config.yaml" ]; then
|
||||||
|
cp config.yaml.example config.yaml
|
||||||
|
fi
|
||||||
@@ -37,6 +37,7 @@ is_file_changed() {
|
|||||||
|
|
||||||
FILES_TO_UPDATE="${FILES_TO_UPDATE:-config.yaml.example
|
FILES_TO_UPDATE="${FILES_TO_UPDATE:-config.yaml.example
|
||||||
deploy.sh
|
deploy.sh
|
||||||
|
initialize.sh
|
||||||
dockerfile
|
dockerfile
|
||||||
main.go
|
main.go
|
||||||
makefile
|
makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user