diceware/go-sync-to-s3.sh

14 lines
213 B
Bash
Raw Normal View History

2018-05-05 01:45:30 +00:00
#!/bin/bash
#
# Sync up all of our files to the S3 bucket
#
# Errors are fatal
set -e
pushd $(dirname $0) > /dev/null
aws s3 sync . s3://diceware.dmuth.org/ --exclude ".*" --exclude "node_modules/*" --delete