Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/generate_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ jobs:
rm -f ~/.ssh/id_rsa
# Clean up SSH known_hosts (remove the entry for this host)
if [ -n "$SCP_HOST" ]; then
ssh-keygen -R "$SCP_HOST" 2>/dev/null
ssh-keygen -R "$SCP_HOST" 2>/dev/null || true
fi
# Remove entire .ssh directory if empty
rmdir ~/.ssh 2>/dev/null
rmdir ~/.ssh 2>/dev/null || true
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ jobs:
# Clean up SSH known_hosts (remove the entry for this host)
SSH_HOST="${{ vars.GREENGEEKS_SSH_HOST }}"
if [ -n "$SSH_HOST" ]; then
ssh-keygen -R "$SSH_HOST" 2>/dev/null
ssh-keygen -R "$SSH_HOST" 2>/dev/null || true
fi
# Remove entire .ssh directory if empty
rmdir ~/.ssh 2>/dev/null
rmdir ~/.ssh 2>/dev/null || true

download_documentation:
name: Download pre-compressed documentation DB
Expand Down Expand Up @@ -765,7 +765,7 @@ jobs:
# Clean up SSH known_hosts (remove the entry for this host)
SSH_HOST="${{ vars.GREENGEEKS_SSH_HOST }}"
if [ -n "$SSH_HOST" ]; then
ssh-keygen -R "$SSH_HOST" 2>/dev/null
ssh-keygen -R "$SSH_HOST" 2>/dev/null || true
fi
# Remove entire .ssh directory if empty
rmdir ~/.ssh 2>/dev/null
rmdir ~/.ssh 2>/dev/null || true