We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 111d1f4 commit aa89393Copy full SHA for aa89393
images/taginfo/start.sh
@@ -47,11 +47,7 @@ process_data() {
47
chronology/update.sh $DATADIR
48
./update_all.sh $DATADIR
49
# Move database files from subdirectories to main data directory
50
- find $DATADIR -mindepth 2 -name "*.db" -type f -exec mv {} $DATADIR/ \;
51
- # if AWS_S3_BUCKET is set upload data
52
- if ! aws s3 ls "s3://$AWS_S3_BUCKET/taginfo/$ENVIRONMENT" 2>&1 | grep -q 'An error occurred'; then
53
- aws s3 sync $DATADIR/ s3://$AWS_S3_BUCKET/taginfo/$ENVIRONMENT/ --exclude "*" --include "*.db"
54
- fi
+ aws s3 sync $DATADIR/ s3://$AWS_S3_BUCKET/taginfo/$ENVIRONMENT/ --exclude "*" --include "*.db"
55
}
56
57
# Compress files to download
0 commit comments