Files
MapLibreParticleLab/mapbox-gl-native/platform/linux/scripts/after_script.sh
2020-12-16 17:26:47 +01:00

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