diff --git a/txgh/lib/txgh/gitlab_api.rb b/txgh/lib/txgh/gitlab_api.rb index 98540ea..b28388f 100644 --- a/txgh/lib/txgh/gitlab_api.rb +++ b/txgh/lib/txgh/gitlab_api.rb @@ -48,7 +48,7 @@ def get_ref(ref) end def download(path, branch) - file = client.get_file(repo_name, path, Utils.url_safe_relative_branch(branch)) + file = client.get_file(repo_name, Utils.url_safe_relative_branch(path), branch) # mock github response { diff --git a/txgh/lib/txgh/pusher.rb b/txgh/lib/txgh/pusher.rb index f5b6089..410cf8e 100644 --- a/txgh/lib/txgh/pusher.rb +++ b/txgh/lib/txgh/pusher.rb @@ -25,6 +25,7 @@ def push(&block) end def push_resources(tx_resources, &block) + logger.info('>>> PING') tx_resources.each do |tx_resource| categories = block_given? ? yield(tx_resource) : {} push_resource(tx_resource, categories)