mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-24 17:56:35 -05:00
Added script to upload to S3
This commit is contained in:
parent
75ddfb0b46
commit
451536a9bb
1 changed files with 13 additions and 0 deletions
13
go-sync-to-s3.sh
Executable file
13
go-sync-to-s3.sh
Executable file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue