kubectl
kubectl copied to clipboard
Commands are not executed in the default working-directory
The action appears to ignore one of the defaults
settings:
jobs:
job-id:
defaults:
run:
working-directory: './bar/foo'
When executing the apply
command:
apply -f ./kubernetes.yaml
The following workaround is an easy solution:
apply -f ./bar/foo/kubernetes.yaml
This issue is more of a nice-to-have, and will help anyone else who may face this issue.
Indeed, this functionality would need to be added. If anyone wants to send a PR, I'd be happy to merge.