Commit c83b0f26 by Torkel Ödegaard

updated wercker deploy script

parent 30c7cb80
Subproject commit 55bc1507013279ed526c235c343885b49fe441e7 Subproject commit 5a3d3f5098c3dfe42d4fbe63f3c43d0d1a154d8a
...@@ -29,6 +29,10 @@ build: ...@@ -29,6 +29,10 @@ build:
- grunt: - grunt:
cwd: grafana/ cwd: grafana/
tasks: release --mode=backend tasks: release --mode=backend
- script:
name: copy output
code: |-
rsync -avz "$WERCKER_SOURCE_DIR/grafana/dist/*" "$WERCKER_OUTPUT_DIR"
deploy: deploy:
steps: steps:
- add-to-known_hosts: - add-to-known_hosts:
...@@ -46,4 +50,9 @@ deploy: ...@@ -46,4 +50,9 @@ deploy:
code: | code: |
pwd pwd
ls -la ls -la
scp -i $PRIVATEKEY_PATH -o StrictHostKeyChecking=no -o UserKnownHostsFile=no grafana deploy@play.grafana.org:/home/deploy/ scp -i $PRIVATEKEY_PATH -o StrictHostKeyChecking=no -o UserKnownHostsFile=no *.gz deploy@play.grafana.org:/home/deploy/
- script:
name: deploy application
code: |
./wercker_deploy.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment