Updated wercker, moved s3sync to deploy step

This commit is contained in:
Torkel Ödegaard 2015-03-04 09:12:32 +01:00
parent dfcf68f21d
commit 14766ad38e
2 changed files with 4 additions and 5 deletions

View File

@ -4,7 +4,7 @@
"company": "Coding Instinct AB"
},
"name": "grafana",
"version": "2.0.0-beta1",
"version": "2.0.0-prebeta",
"repository": {
"type": "git",
"url": "http://github.com/torkelo/grafana.git"

View File

@ -31,18 +31,17 @@ build:
- script:
name: copy output
code: |-
cp -r $WERCKER_SOURCE_DIR/dist/ $WERCKER_ROOT/
rsync -rv "$WERCKER_SOURCE_DIR/dist/" "$WERCKER_OUTPUT_DIR"
deploy:
steps:
- s3sync:
key-id: $AWS_S3_KEY
key-secret: $AWS_S3_SECRET
bucket-url: $AWS_S3_BUCKET
source-dir: dist/
source-dir: ./
delete-removed: false
deploy:
steps:
- add-to-known_hosts:
hostname: play.grafana.org
- mktemp: