Sync screenshots and skins to s3

This commit is contained in:
Jordan Eldredge 2018-07-11 14:11:38 -07:00
parent ff32dd9c04
commit e1e4d986e4
2 changed files with 4 additions and 5 deletions

View file

@ -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",

View file

@ -1,4 +0,0 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore