Skip to content

Is it possible to overwrite the "run-mode" per action? #194

Discussion options

You must be logged in to vote

I would suggest to change the migrate command to something like

docker exec "php vendor/bin/console migrate…"

That‘s what the Cap’n would have to do anyway, start a ne "sub" process.

If you want to keep both options, so people could still run everything in docker you would need two Actions one with the vendor/bin… command and one with the docker exec … command and then apply conditions to each. One where you only run in run-mode docker and the other that checks for run-mode local.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@alfredbez
Comment options

@alfredbez
Comment options

@sebastianfeldmann
Comment options

@alfredbez
Comment options

@sebastianfeldmann
Comment options

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