Skip to content

Commit

Permalink
fix syntax and add more defaults (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
goedelsoup authored and timperrett committed Jan 24, 2019
1 parent aa63e31 commit 823b81b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ commands:
command: |
slipway gen <<parameters.container>> --dir .slipway -f <<parameters.format>>
- persist_workspace:
- persist_to_workspace:
root: .
paths:
- .slipway
Expand All @@ -74,14 +74,17 @@ commands:
repo:
description: the github repository; this must be a fully qualified name [org]/[repo]
type: string
default: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME

tag:
description: the tag to release
type: string
default: $CIRCLE_TAG

branch:
description: branch to base release off from
type: string
default: $CIRCLE_BRANCH

steps:
- run:
Expand All @@ -99,6 +102,7 @@ commands:
repo:
description: the github repository; this must be a fully qualified name [org]/[repo]
type: string
default: $CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME

ref:
description: a github reference to deploy
Expand All @@ -113,4 +117,4 @@ commands:
- run:
name:
command: |
slipway release --dir .slipway -e <<parameters.endpoint>> -t <<parameters.tag>> -r <<parameters.repository>> --ref <<parameters.ref>>
slipway release --dir .slipway -e <<parameters.endpoint>> -r <<parameters.repo>> --ref <<parameters.ref>>

0 comments on commit 823b81b

Please sign in to comment.