Under what conditions is KAMAL_ROLE available to hooks? #1219
Unanswered
hcpss-banderson
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Can you run #!/bin/sh
# dump env
env
echo "$KAMAL_ROLE" > ./role.txt |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried
kamal deploy --roles=aesbut the pre-deploy hook still does not have access to the KAMAL_ROLE variable.For example:
This gives me an empty file.
Beta Was this translation helpful? Give feedback.
All reactions