Skip to content

Commit 373bb34

Browse files
committed
Update file in /etc
Signed-off-by: Riddhesh Sanghvi <[email protected]>
1 parent 12854cd commit 373bb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ function maybe_install_submodules() {
144144
# Check and update submodules if any
145145
if [[ -f "$GITHUB_WORKSPACE/.gitmodules" ]]; then
146146
# 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
147+
curl -sL https://api.github.com/meta | jq -r '.ssh_keys | .[]' | sed -e 's/^/github.com /' >>/etc/ssh/known_hosts
148148

149149
identity_file=''
150150
if [[ -n "$SUBMODULE_DEPLOY_KEY" ]]; then

0 commit comments

Comments
 (0)