File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -77,17 +77,12 @@ jobs:
7777 env :
7878 AWS_EC2_METADATA_DISABLED : true
7979 run : |
80- aws --endpoint-url https://s3.filebase.com \
80+ aws --endpoint https://s3.filebase.com \
8181 s3 cp preview.car \
82- s3://libp2p-preview/${{ steps.vars.outputs.prefix }} \
83- --content-type application/car \
84- --metadata import=car \
82+ s3://${{ secrets.FILEBASE_BUCKET_PREVIEW }} \
83+ --metadata 'import=car' \
8584 --debug > upload.log 2>&1
8685
87- echo "===== LOG ====="
88- cat upload.log
89- echo "==============="
90-
9186 # Extract CID from debug log (x-amz-meta-cid header)
9287 CID=$(grep -i 'x-amz-meta-cid' upload.log | awk -F': ' '{print $2}' | tr -d '\r')
9388 if [ -z "$CID" ]; then
10499 **Preview ready!**
105100
106101 View the preview build here:
107- https://gateway.filebase .com/ipfs/${{ steps.upload.outputs.cid }}/
102+ https://libp2p.myfilebase .com/ipfs/${{ steps.upload.outputs.cid }}/
108103
109104 (Root CID: ${{ steps.upload.outputs.cid }} – expires when PR is closed/branch deleted)
110105
You can’t perform that action at this time.
0 commit comments