From f98fbc353830e368b28b2720b7dd36c708709a20 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 12:14:16 +0200 Subject: [PATCH] +ssh/key --- .forgejo/workflows/main.yaml | 1 + .github/workflows/main.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index fd1bcd0..ac12181 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -9,6 +9,7 @@ jobs: SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}} SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}} SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}} + SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}} run: ${{vars.SPCD}} - run: spcd-list-environment diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 337fc88..16e2749 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -10,6 +10,7 @@ jobs: SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}} SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}} SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}} + SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}} run: echo '${{vars.SPCD}}' | tr -d '\r' | sh -s - run: spcd-list-environment