From e1e4d986e4b7905e25c132d213fc73335342eea2 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 11 Jul 2018 14:11:38 -0700 Subject: [PATCH] Sync screenshots and skins to s3 --- experiments/automatedScreenshots/package.json | 5 ++++- experiments/automatedScreenshots/screenshots.bak/.gitignore | 4 ---- 2 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 experiments/automatedScreenshots/screenshots.bak/.gitignore diff --git a/experiments/automatedScreenshots/package.json b/experiments/automatedScreenshots/package.json index 5c347702..ba0037cb 100644 --- a/experiments/automatedScreenshots/package.json +++ b/experiments/automatedScreenshots/package.json @@ -5,7 +5,10 @@ "main": "index.js", "scripts": { "start": "node index.js", - "clean": "rm screenshots/*.png" + "clean": "rm screenshots/*.png", + "sync-screenshots": "aws s3 sync --acl=public-read screenshots/ s3://webamp-uploaded-skins/screenshots/", + "sync-skins": "aws s3 sync --acl=public-read md5Skins/ s3://webamp-uploaded-skins/skins/", + "sync": "npm run sync-screenshots && npm run sync-skins" }, "author": "", "license": "ISC", diff --git a/experiments/automatedScreenshots/screenshots.bak/.gitignore b/experiments/automatedScreenshots/screenshots.bak/.gitignore deleted file mode 100644 index 5e7d2734..00000000 --- a/experiments/automatedScreenshots/screenshots.bak/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore