From 3fdbffdfe61c292a7f2b9386f6edf65fd0651923 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Sun, 26 Jan 2020 15:48:27 +0100 Subject: [PATCH] Add ssh key in same step --- .github/workflows/deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index fa415013fdf8..220598246e6c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -25,9 +25,8 @@ jobs: with: ref: ${{ env.TARGET_BRANCH }} path: 'out' - - name: Add SSH key + - name: Deploy run: | eval "$(ssh-agent -s)" ssh-add - <<< "${{ secrets.DEPLOY_KEY }}" - - name: Deploy - run: bash .github/deploy.sh + bash .github/deploy.sh