summaryrefslogtreecommitdiff
path: root/sync_to_cdn.sh
blob: da77d8f2088eeb948b59663d4488ed3c00c1a6ce (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

TARGET=s3://cdn.proj.org/

for i in `ls -d */`; do
    echo "Synchronizing $i ..."
    aws s3 sync $i "$TARGET" --exclude ".github/*" --profile projcdn
done
aws s3 cp index.html "$TARGET" --profile projcdn
aws s3 cp README.DATUMGRID "$TARGET" --profile projcdn