From d12cbfa26ea7b72170b457d5a96994f00dc97a37 Mon Sep 17 00:00:00 2001 From: Vadim Date: Thu, 30 Mar 2023 13:43:14 +0300 Subject: [PATCH] add iap repo to cd --- .github/workflows/cd_dev.yml | 9 +++++++++ .github/workflows/cd_prod.yml | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/cd_dev.yml b/.github/workflows/cd_dev.yml index 6bc93ad..3945e6b 100644 --- a/.github/workflows/cd_dev.yml +++ b/.github/workflows/cd_dev.yml @@ -23,7 +23,16 @@ jobs: 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: actions/checkout@v3 + submodules: recursive + - uses: actions/setup-java@v2 with: distribution: "zulu" diff --git a/.github/workflows/cd_prod.yml b/.github/workflows/cd_prod.yml index cc116cd..3c770eb 100644 --- a/.github/workflows/cd_prod.yml +++ b/.github/workflows/cd_prod.yml @@ -14,7 +14,16 @@ jobs: 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: actions/checkout@v3 + submodules: recursive + - uses: actions/setup-java@v2 with: distribution: "zulu"