feat: update Forgejo deployment URL and add installation check in startup script
This commit is contained in:
parent
8faa97a8bb
commit
bb4d0cc701
3 changed files with 9 additions and 1 deletions
|
|
@ -100,3 +100,11 @@ if [[ ! -d "$INFCTL_INSTALL_DIR" ]]; then
|
|||
chown -R user:user "$INFCTL_INSTALL_DIR"
|
||||
fi
|
||||
|
||||
# check to see if INSTALL_FORGEJO is set to "true"
|
||||
if [[ "$INSTALL_FORGEJO" == "true" ]]; then
|
||||
# install forgejo using infctl
|
||||
# ....
|
||||
LOG_FORMAT=none infctl -f "${INFCTL_INSTALL_DIR}/infctl-cli/gcloud/tf/scripts/install-forgejo-pipeline.json"
|
||||
touch /etc/forgejo_was_installed
|
||||
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue