为了自动触发Gitlab流水线,必须创建一个所谓的触发器。你可以在项目设置中创建任意多的触发器。 这些触发器看起来像这样。当然,(占位符)必须被替换。 x – + Terminal $ curl -X POST -F token=(TOKEN) -F ref=(BRANCH) http://(ip):(port)/api/v4/projects/(project-id)/trigger/pipeline
This curl call can be entered into the Synology task scheduler, Done!