Skip to content

Commit

Permalink
Add known hosts in variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Epse committed Feb 6, 2025
1 parent 4ab06fa commit 5fc71e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/gitlab-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ jobs:
- name: Push to GitLab
env:
SSH_PRIVATE_KEY: ${{secrets.DEPLOY_KEY}}
SSH_KNOWN_HOSTS: ${{ env.SSH_KNOWN_HOSTS}}
run: |
mkdir "~/.ssh"
ssh-keyscan gitlab.com > "~/.ssh/known_hosts"
git checkout main
git push -T --set-upstream [email protected]:belux-vacc/belux-discord-bot.git main

0 comments on commit 5fc71e1

Please sign in to comment.