diff --git a/.gitea/workflows/container.yaml b/.gitea/workflows/container.yaml index de35eba..5cc41e3 100644 --- a/.gitea/workflows/container.yaml +++ b/.gitea/workflows/container.yaml @@ -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 }}