12 lines
283 B
Bash
Executable File
12 lines
283 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
JOB=$1
|
|
|
|
if [ ! -z "${AWS_ACCESS_KEY_ID}" ] && [ ! -z "${AWS_SECRET_ACCESS_KEY}" ] ; then
|
|
aws s3 cp --recursive --acl public-read --exclude "*" --include "*/actual.png" test/fixtures \
|
|
s3://mapbox/mapbox-gl-native/render-tests/$JOB
|
|
fi
|