From 7027cb8ab1071d9f4ae0ecfc54ed6f0884fbe23c Mon Sep 17 00:00:00 2001 From: leo Sayous Date: Sat, 8 Jul 2023 19:35:26 +0200 Subject: [PATCH] feat: use sismo bot ssh key --- .github/workflows/create-app.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/create-app.yml b/.github/workflows/create-app.yml index df586e45..72d77531 100644 --- a/.github/workflows/create-app.yml +++ b/.github/workflows/create-app.yml @@ -40,14 +40,13 @@ jobs: env: SISMO_FACTORY_URL: https://factory-api.sismo.io SISMO_FACTORY_TOKEN: ${{ secrets.SISMO_FACTORY_TOKEN }} - - - uses: oleksiyrudenko/gha-git-credentials@v2.1.1 - with: - global: true - name: 'SismoBot' - email: 'robot@sismo.io' - actor: 'sismobot' - token: '${{ secrets.SISMOBOT_TOKEN }}' + + - name: Set up SSH + run: | + mkdir -p ~/.ssh + echo "${{ secrets.SISMOBOT_SSH }}" > ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa + ssh-keyscan github.com >> ~/.ssh/known_hosts - name: Commit and push filled appId run: |