diff --git a/action.yml b/action.yml index 95b3662..769fa4b 100644 --- a/action.yml +++ b/action.yml @@ -198,7 +198,7 @@ runs: echo "::group::Configurations" config_ssh=~/.ssh/config - mkdir ~/.ssh && echo -e "ExitOnForwardFailure=yes\nStrictHostKeyChecking=no" > ${config_ssh} && chmod 600 ${config_ssh} && echo "File created: ${config_ssh}" + mkdir -p ~/.ssh && echo -e "ExitOnForwardFailure=yes\nStrictHostKeyChecking=no" > ${config_ssh} && chmod 600 ${config_ssh} && echo "File created: ${config_ssh}" [ "${{inputs.debug}}" == "true" ] && cat ${config_ssh} show_hr