YAML - Custom script not firing. #2508
Answered
by
lorisleiva
iBotPeaches
asked this question in
Help needed
-
So I converted a project over to deployer7 and for some reason my custom task appears to run, but actually not. I have a deploy task that looks like:
dep deploy has no errors, but the site is broken because no production assets generated. I look at the debug output and get nothing:
I must be doing something dumb but can't pinpoint it - any ideas? |
Beta Was this translation helpful? Give feedback.
Answered by
lorisleiva
Apr 16, 2021
Replies: 1 comment 1 reply
-
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? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
iBotPeaches
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this is actually a bug. I've managed to reproduce it using the array syntax
But it works for me using the string syntax.
Would you mind opening an issue and I'll have a look at the code?