From 96b609d41bcb423660c1de4a77502d7e3cebe251 Mon Sep 17 00:00:00 2001 From: flip1995 Date: Fri, 24 Jan 2020 14:03:58 +0100 Subject: [PATCH] fixup! fixup! Add deployment to GHA --- .github/workflows/deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 22e6b1731aa5..36e2d23e5173 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -69,9 +69,7 @@ jobs: git add . git commit -m "Automatic deploy to GitHub Pages: ${SHA}" - echo ${{ secrets.DEPLOY_KEY }} > .github/deploy_key - chmod 600 .github/deploy_key eval "$(ssh-agent -s)" - ssh-add .github/deploy_key + ssh-add - <<< "${{ secrets.DEPLOY_KEY }}" git push "$SSH_REPO" "$TARGET_BRANCH"