[Significant Changes] Added build_command.sh to simplify the .gitlab-ci.yml. Added LOG_FILE variable to make the enrypoing 'tail -f' command more useful.

This commit is contained in:
2023-03-21 18:00:07 +08:00
parent b6b90e5368
commit ad7a2f55ad
4 changed files with 40 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ term_handler() {
trap 'kill ${!}; term_handler' SIGTERM
touch $LOG_FILE
$USER_COMMAND_INIT &
tail -f /dev/null & wait ${!}
tail -f $LOG_FILE & wait ${!}