refresh review pipeline
This commit is contained in:
@@ -1,4 +1,11 @@
|
||||
#!/bin/sh
|
||||
# ============================================================================
|
||||
# 用途:Docker 容器 action 的進入點腳本,於容器啟動時執行 Node 主程式並轉傳所有參數。
|
||||
# 更新時間:2026/08/07 13:51:53
|
||||
# ============================================================================
|
||||
|
||||
# 遇到任何指令執行失敗時立即中止腳本,避免錯誤被吞掉而繼續往下執行
|
||||
set -e
|
||||
|
||||
# 以 exec 取代目前 shell 程序執行 Node 主程式,並將容器收到的所有參數("$@")原樣轉傳給它
|
||||
exec node /action/src/main.js "$@"
|
||||
|
||||
Reference in New Issue
Block a user