From 1b58d5c6f4c4e858ba24927eb65128bf7c336889 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Tue, 15 Sep 2020 18:16:02 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 46376874d..fc257a1d2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,7 +68,7 @@ jobs: with: name: ${{ matrix.OMR_TARGET }} path: /home/runner/work/omr/${{ matrix.OMR_TARGET }}/source/bin - - if: steps.branch_name.outputs.SOURCE_BRANCH == '' && secrets.PRIVATE_KEY != '' + - if: steps.branch_name.outputs.SOURCE_BRANCH == '' name: Deploy - Create directory uses: fifsky/ssh-action@master env: @@ -82,7 +82,7 @@ jobs: user: deploy port: ${{ secrets.OMR_DEPLOY_PORT }} key: ${{ secrets.PRIVATE_KEY }} - - if: steps.branch_name.outputs.SOURCE_BRANCH != '' && secrets.PRIVATE_KEY != '' + - if: steps.branch_name.outputs.SOURCE_BRANCH != '' name: Deploy - Create directory uses: fifsky/ssh-action@master env: @@ -96,7 +96,7 @@ jobs: user: deploy port: ${{ secrets.OMR_DEPLOY_PORT }} key: ${{ secrets.PRIVATE_KEY }} - - if: steps.branch_name.outputs.SOURCE_BRANCH == '' && secrets.PRIVATE_KEY != '' + - if: steps.branch_name.outputs.SOURCE_BRANCH == '' name: Deploy - Upload via rsync uses: up9cloud/action-rsync@master env: @@ -111,7 +111,7 @@ jobs: SOURCE_BRANCH: ${{ steps.branch_name.outputs.SOURCE_BRANCH }} SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }} GITHUB_WORKSPACE: ${{ steps.branch_name.outputs.WORKSPACE }} - - if: steps.branch_name.outputs.SOURCE_BRANCH != '' && secrets.PRIVATE_KEY != '' + - if: steps.branch_name.outputs.SOURCE_BRANCH != '' name: Deploy - Upload via rsync uses: up9cloud/action-rsync@master env: