copy URL before uploading to S3
This commit is contained in:
parent
ce71357790
commit
21a0c28bb1
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ fi
|
|||
FILENAME=$(basename "$WEB_IMG_PATH")
|
||||
FILENAME="${FILENAME// /_}"
|
||||
IMG_HOST="static.samhuri.net"
|
||||
s3cmd put "$WEB_IMG_PATH" "s3://${IMG_HOST}/${FILENAME}"
|
||||
URL="http://${IMG_HOST}/${FILENAME}"
|
||||
echo -n "$URL" | pbcopy
|
||||
s3cmd put "$WEB_IMG_PATH" "s3://${IMG_HOST}/${FILENAME}"
|
||||
echo "$URL"
|
||||
|
|
|
|||
Loading…
Reference in a new issue