2017-02-06 13:40:28 -05:00
|
|
|
#!/bin/bash
|
2017-06-19 17:30:06 -04:00
|
|
|
set -eu -o pipefail
|
2017-02-06 13:40:28 -05:00
|
|
|
|
2017-03-09 15:15:26 -05:00
|
|
|
# Set up env variables
|
2018-09-15 08:31:39 -04:00
|
|
|
export AIO_CIRCLE_CI_TOKEN=UNUSED_CIRCLE_CI_TOKEN
|
2017-03-09 15:15:26 -05:00
|
|
|
export AIO_GITHUB_TOKEN=$(head -c -1 /aio-secrets/GITHUB_TOKEN 2>/dev/null)
|
|
|
|
|
|
|
|
# Run the clean-up
|
2017-02-06 13:40:28 -05:00
|
|
|
node $AIO_SCRIPTS_JS_DIR/dist/lib/clean-up >> /var/log/aio/clean-up.log 2>&1
|