diff --git a/app/services/games_service.rb b/app/services/games_service.rb index a65388e2..937e4ecd 100644 --- a/app/services/games_service.rb +++ b/app/services/games_service.rb @@ -95,7 +95,7 @@ class GamesService end end - if myshixun_manager + if st == 0 && shixun.status == 2 && myshixun_manager zip_path = Gitlab.endpoint.to_s + "/projects/" + myshixun.gpid.to_s + "/repository/archive?&private_token=" + Gitlab.private_token.to_s container = container.merge(:zip_path => zip_path) end