Skip to content

Commit 0c9e500

Browse files
committed
Known host needed
1 parent e9430a0 commit 0c9e500

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/robot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
with:
4242
ssh-private-key: ${{ secrets.SSH_KEY }}
4343
- name: Add known host key
44+
if: (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/master') && matrix.java == '17'
4445
run: ssh-keyscan mvn.javacard.pro >> ~/.ssh/known_hosts
4546
- name: Deploy package
4647
if: (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/master') && matrix.java == '17'

0 commit comments

Comments
 (0)