Skip to content

Commit

Permalink
Merge pull request #6 from hellofresh/feature/fix-archiving
Browse files Browse the repository at this point in the history
change the file path for uploaded file
  • Loading branch information
s-radyuk authored Nov 30, 2022
2 parents 4c7ef49 + 6483f9b commit 6cb51a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ set -e
# Upload Results
if [ -n "${REPORT_PRESIGNED_URL}" ]; then
echo "=== Saving report to Object storage ==="
tar -C /results -cf results.tar .
curl -X PUT -H "Content-Type: application/x-tar" -T results.tar -L "${REPORT_PRESIGNED_URL}"
curl -X PUT -H "Content-Type: application/x-tar" -T ../results.html -L "${REPORT_PRESIGNED_URL}"
fi

0 comments on commit 6cb51a8

Please sign in to comment.