Skip to content

YAML - Custom script not firing. #2508

Discussion options

You must be logged in to vote

I think this is actually a bug. I've managed to reproduce it using the array syntax

  yarn:run:prod:
    script:
      - 'cd {{release_or_current_path}} && yarn run prod'

But it works for me using the string syntax.

  yarn:run:prod:
    script: 'cd {{release_or_current_path}} && yarn run prod'

Would you mind opening an issue and I'll have a look at the code?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iBotPeaches
Comment options

Answer selected by iBotPeaches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants