Skip to content

Commit

Permalink
Trying with github CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJCummings committed Dec 3, 2024
1 parent d03164c commit 13a0ea8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,17 @@ 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
# ssh-keyscan github.com >> ~/.ssh/known_hosts
# eval $(ssh-agent -s)
# ssh-add ~/.ssh/msusel_ci_bot_key
gh auth login --with-token < ~/.ssh/msusel_ci_bot_key
- name: deploy to MSUSEL maven repository
run: |
git config --global user.name "${{ secrets.CI_BOT_USERNAME }}"
git config --global user.email "${{ secrets.CI_BOT_EMAIL }}"
git config --global init.defaultBranch master
# git config --global user.name "${{ secrets.CI_BOT_USERNAME }}"
# git config --global user.email "${{ secrets.CI_BOT_EMAIL }}"
# git config --global init.defaultBranch master
mvn --batch-mode -f pom.xml clean deploy -Dmaven.test.skip=true
Expand Down

0 comments on commit 13a0ea8

Please sign in to comment.