6
0

Optional SSH key

This commit is contained in:
Jon Michael Aanes 2023-12-30 23:51:15 +01:00
parent b40b404294
commit fa706cf2d7

View File

@ -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 }}