Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (13 sloc) 319 Bytes
#!/bin/bash
echo "[default]
host_base = sos-${EXOSCALE_REGION}.exo.io
host_bucket = %(bucket)s.sos-${EXOSCALE_REGION}.exo.io
access_key = ${EXOSCALE_KEY}
secret_key = ${EXOSCALE_SECRET}
use_https = True
" > ~/.s3cfg
s3cmd sync --delete-removed ./_site/ s3://${BUCKET_NAME}/
RESULT=$?
set -e
rm ~/.s3cfg
exit ${RESULT}
You can’t perform that action at this time.