mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Fix artifacts index.html download path
This commit is contained in:
parent
961395ba25
commit
7a7e8e5f94
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user