From 0f61f9a12324d7d41765243206c2869f3efbde81 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Wed, 29 Nov 2023 16:21:41 +0100 Subject: [PATCH] Add secrets --- .github/workflows/ci.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d3cace..7840307 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,12 +32,24 @@ jobs: uses: bus1/cabuild/action/msdevshell@v1 with: architecture: x64 + - name: secret + shell: bash + run: | + echo "${{secrets.ssh_key}}" > $SSH_KEY + env: + SSH_KEY: ${{ runner.temp }}/id_rsa - name: Ensure base deps run: python .github\\scripts\\ensure_base_deps.py - - name: Compile all deps + env: + SSH_KEY: ${{ runner.temp }}/id_rsa + - name: Compile all deps run: python .github\\scripts\\compile_all_deps.py + env: + SSH_KEY: ${{ runner.temp }}/id_rsa - name: Build projects run: python .github\\scripts\\build_projects.py + env: + SSH_KEY: ${{ runner.temp }}/id_rsa - name: Upload failure logs shell: bash if: failure() @@ -112,7 +124,7 @@ jobs: kiwix-build/.github/scripts/ensure_base_deps.py env: COMPILE_CONFIG: ${{matrix.config}} - - name: Compile all deps + - name: Compile all deps shell: bash run: | cd $HOME