Skip to content

Commit

Permalink
ci: remove SSH access (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdjurovic committed Dec 23, 2023
1 parent 611515e commit ed89696
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,6 @@ jobs:
with:
gpg_private_key: ${{ secrets.MAVEN_SIGNING_KEY }}
passphrase: ${{ secrets.MAVEN_SIGNING_KEY_PASSPHRASE }}
- name: Setup SSH
run: |
echo "Setting up SSH..."
mkdir ~/.ssh
echo "$SSH_KEY" > ~/.ssh/appforge-key
chmod 600 ~/.ssh/appforge-key
cat <<EOF > ~/.ssh/config
Host github.com
User git
IdentityFile ~/.ssh/appforge-key
ForwardAgent yes
EOF
cat ~/.ssh/config
echo "Starting SSH agent"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/appforge-key
shell: bash
env:
SSH_KEY: ${{ secrets.APPFORGE_DEPLOY_PRIV_KEY }}
- name: Install JDK
uses: actions/setup-java@v3
with:
Expand Down

0 comments on commit ed89696

Please sign in to comment.