Skip to content

Commit

Permalink
Fix CI SSH step - add github.com host key to known_hosts (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmacha committed May 22, 2024
1 parent 1c4bcbb commit a7a550b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ jobs:
- name: Commit version change
if: ${{ inputs.push-version-commit == true }}
run: |
New-Item -ItemType Directory -Force -Path ~/.ssh
ssh-keyscan github.com >> ~/.ssh/known_hosts
git config --global user.name "Nekobot"
git config --global user.email "nekobot-service.noreply@silveroreteam.pl"
git remote set-url origin git@github.com:Silver-Ore-Team/zBassMusic.git
Expand Down

0 comments on commit a7a550b

Please sign in to comment.