#!/bin/bash

echo $STATIC_CONTENT_BUCKET_NAME
set -e
echo "deleting former ccontent"
aws s3 rm --recursive s3://$STATIC_CONTENT_BUCKET_NAME
echo "pushing new content to bucket"
aws s3 cp --recursive build s3://$STATIC_CONTENT_BUCKET_NAME