mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
新增:流水线接口代码
This commit is contained in:
@@ -60,6 +60,15 @@ defaults format: :json do
|
||||
|
||||
# projects文件夹下的
|
||||
scope module: :projects do
|
||||
resources :actions, module: 'actions' do
|
||||
collection do
|
||||
post :disable
|
||||
post :enable
|
||||
resources :runs, only: [:index] do
|
||||
post '/jobs/:job', to: 'runs#job_show'
|
||||
end
|
||||
end
|
||||
end
|
||||
resources :pulls, module: 'pulls' do
|
||||
resources :versions, only: [:index] do
|
||||
member do
|
||||
|
||||
Reference in New Issue
Block a user