Skip to content

Commit

Permalink
Fix wercker deploy pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Filbird committed Aug 4, 2016
1 parent fe687a2 commit 78d2abe
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ box: golang

build:
steps:
# Store the original source dir so we can pass the file to deploy
- script:
name: provide chance for deployment
code: |
export ORG_SOURCE=$WERCKER_SOURCE_DIR
- wercker/setup-go-workspace:
package-dir: github.com/screwdriver-cd/launcher

Expand All @@ -19,7 +25,9 @@ build:

- script:
name: go build
code: go build launch.go
code: |
go build -a -o launch
mv launch $ORG_SOURCE
deploy:
steps:
Expand Down

0 comments on commit 78d2abe

Please sign in to comment.