Skip to content
Snippets Groups Projects
Commit 219d02b8 authored by Christopher Guindon's avatar Christopher Guindon
Browse files
parent a303acca
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ end
## Get the project ID from env var, extracting from pattern 'project-###'
project_id = ENV['GL_REPOSITORY'][8..-1]
## Get data about project from API
project_response = HTTParty.get("http://localhost/api/v4/projects/#{project_id}")
project_response = HTTParty.get("https://localhost/api/v4/projects/#{project_id}")
## Format data to be able to easily read and process it
project_json_data = MultiJson.load(project_response.body)
## Get the web URL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment