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
-
I tried
kamal deploy --roles=aes
but 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