Optional SSH key
This commit is contained in:
parent
b40b404294
commit
fa706cf2d7
|
@ -26,10 +26,7 @@ on:
|
|||
required: true
|
||||
type: string
|
||||
PIPELINE_WORKER_SSH_KEY:
|
||||
required: true
|
||||
type: string
|
||||
PIPELINE_WORKER_KNOWN_HOSTS:
|
||||
required: true
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
|
@ -57,6 +54,7 @@ jobs:
|
|||
|
||||
- run: apt-get update
|
||||
- name: Setting up SSH
|
||||
if: ${{ hashFiles('requirements_private.txt') != '' }}
|
||||
uses: https://github.com/shimataro/ssh-key-action@v2.5.1
|
||||
with:
|
||||
key: ${{ secrets.PIPELINE_WORKER_SSH_KEY }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user