Commit 6703f051 by Torkel Ödegaard

Another attemp at s3 sync

parent 02f4eb53
...@@ -8,7 +8,7 @@ steps: ...@@ -8,7 +8,7 @@ steps:
build: build:
steps: steps:
# Workspace # Workspace
# - setup-go-workspace - setup-go-workspace
# - script: # - script:
# name: build setup # name: build setup
# code: | # code: |
...@@ -39,14 +39,14 @@ build: ...@@ -39,14 +39,14 @@ build:
- script: - script:
name: create packages name: create packages
code: | code: |
mkdir $WERCKER_OUTPUT_DIR/dist mkdir dist
touch $WERCKER_OUTPUT_DIR/dist/my_file.txt touch dist/my_file.txt
- s3sync: - s3sync:
key-id: $AWS_S3_KEY key-id: $AWS_S3_KEY
key-secret: $AWS_S3_SECRET key-secret: $AWS_S3_SECRET
bucket-url: $AWS_S3_BUCKET bucket-url: $AWS_S3_BUCKET
source-dir: $WERCKER_OUTPUT_DIR/dist/ source-dir: ./dist/
delete-removed: false delete-removed: false
deploy: deploy:
steps: steps:
......
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