Skip to content

Commit

Permalink
Trying again with full ssh key management but without explicit git co…
Browse files Browse the repository at this point in the history
…nfig
  • Loading branch information
RyanJCummings committed Dec 3, 2024
1 parent b7b70d2 commit 2403ca1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,9 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.MSUSEL_CI_BOT_SSH_KEY }}" > ~/.ssh/msusel_ci_bot_key
chmod 600 ~/.ssh/msusel_ci_bot_key
# ssh-keyscan github.com >> ~/.ssh/known_hosts
# eval $(ssh-agent -s)
# ssh-add ~/.ssh/msusel_ci_bot_key
gh config set git_protocol ssh
gh auth login --with-token < ~/.ssh/msusel_ci_bot_key
ssh-keyscan github.com >> ~/.ssh/known_hosts
eval $(ssh-agent -s)
ssh-add ~/.ssh/msusel_ci_bot_key
- name: deploy to MSUSEL maven repository
run: |
Expand Down

0 comments on commit 2403ca1

Please sign in to comment.