We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12854cd commit 373bb34Copy full SHA for 373bb34
main.sh
@@ -144,7 +144,7 @@ function maybe_install_submodules() {
144
# Check and update submodules if any
145
if [[ -f "$GITHUB_WORKSPACE/.gitmodules" ]]; then
146
# add github's public key
147
- curl -sL https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >> ~/.ssh/known_hosts
+ curl -sL https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >>/etc/ssh/known_hosts
148
149
identity_file=''
150
if [[ -n "$SUBMODULE_DEPLOY_KEY" ]]; then
0 commit comments