From 574c1cff3ec3475c255fa078d0eb71f687fc3e28 Mon Sep 17 00:00:00 2001 From: Leandro Facchinetti Date: Tue, 22 Dec 2020 20:00:32 +0000 Subject: [PATCH] . --- .github/workflows/main.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ebd4b94..8ef55d4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,13 +4,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: webfactory/ssh-agent@v0.4.1 + with: + ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - uses: actions/setup-node@v1 with: node-version: "14.x" - run: npm install-ci-test - - uses: webfactory/ssh-agent@v0.4.1 - with: - ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - if: github.ref == 'refs/heads/master' - run: npm run deploy if: github.ref == 'refs/heads/master'