BUG Fix artifacts index.html download path

This commit is contained in:
Damian Mooyman 2017-05-16 14:54:10 +12:00
parent 961395ba25
commit 7a7e8e5f94
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A

View File

@ -97,6 +97,6 @@ file_put_contents("{$artifactsPath}index.html", $html);
run("~/bin/artifacts upload --permissions public-read --target-paths $targetPath $artifactsPath");
$fullPath = str_replace('//', '/', "$baseUrl/$targetPath/artifacts/index.html");
$fullPath = str_replace('//', '/', "$baseUrl/$targetPath/index.html");
$fullPath = str_replace('https:/s3', 'https://s3', $fullPath);
echo "Uploaded artifacts to $fullPath\n";