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