From 03e34fd3b4b632ecc1e2c8166acfbe703884a66f Mon Sep 17 00:00:00 2001 From: Vadim Date: Thu, 13 Jul 2023 16:25:16 +0200 Subject: [PATCH] `webfactory/ssh-agent` --- .github/workflows/cd_dev.yml | 7 ++----- .github/workflows/cd_prod.yml | 9 +++------ .github/workflows/ci.yml | 7 ++----- 3 files changed, 7 insertions(+), 16 deletions(-) diff --git a/.github/workflows/cd_dev.yml b/.github/workflows/cd_dev.yml index 1cf1c02..6e0192e 100644 --- a/.github/workflows/cd_dev.yml +++ b/.github/workflows/cd_dev.yml @@ -23,12 +23,9 @@ jobs: timeout-minutes: 30 steps: - - uses: shaunco/ssh-agent@git-repo-mapping + - uses: webfactory/ssh-agent@v0.8.0 with: - ssh-private-key: | - ${{ secrets.M3_LIGHTMETER_IAP_KEY }} - repo-mappings: | - github.com/vodemn/m3_lightmeter_iap + ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }} - uses: actions/checkout@v3 with: diff --git a/.github/workflows/cd_prod.yml b/.github/workflows/cd_prod.yml index 9ff3d6e..4030fd5 100644 --- a/.github/workflows/cd_prod.yml +++ b/.github/workflows/cd_prod.yml @@ -22,12 +22,9 @@ jobs: runs-on: macos-11 timeout-minutes: 30 steps: - # - uses: shaunco/ssh-agent@git-repo-mapping - # with: - # ssh-private-key: | - # ${{ secrets.M3_LIGHTMETER_IAP_KEY }} - # repo-mappings: | - # github.com/vodemn/m3_lightmeter_iap + - uses: webfactory/ssh-agent@v0.8.0 + with: + ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }} - uses: actions/checkout@v3 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8956f6..346e967 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,12 +17,9 @@ jobs: timeout-minutes: 10 steps: - - uses: shaunco/ssh-agent@git-repo-mapping + - uses: webfactory/ssh-agent@v0.8.0 with: - ssh-private-key: | - ${{ secrets.M3_LIGHTMETER_IAP_KEY }} - repo-mappings: | - github.com/vodemn/m3_lightmeter_iap + ssh-private-key: ${{ secrets.M3_LIGHTMETER_IAP_KEY }} - uses: actions/checkout@v3 with: