From 870dc2da1eadc75f8752152b5a615deb00d131a7 Mon Sep 17 00:00:00 2001 From: nugaon Date: Tue, 4 May 2021 15:46:10 +0200 Subject: [PATCH] ci: move comparisation into the brackets --- .github/workflows/publish.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 9ce0f14..597232a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -34,7 +34,7 @@ jobs: with: fetch-depth: 1 - name: Auth to Github Package Docker Registry - if: (github.ref == 'refs/heads/master' || ${{ github.event.inputs.buildImage }} == 'true') && success() + if: (github.ref == 'refs/heads/master' || ${{ github.event.inputs.buildImage == 'true' }}) && success() run: | echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://docker.pkg.github.com -u ${GITHUB_ACTOR} --password-stdin - name: Install npm deps @@ -44,7 +44,7 @@ jobs: run: | npm run build:env - name: Publish if it was clicked manually - if: ${{ github.event.inputs.buildImage }} == 'true' && success() + if: ${{ github.event.inputs.buildImage == 'true' }} && success() run: | export COMMIT_VERSION_TAG="${{ github.event.inputs.commitVersionTag }}" export BEE_VERSION="${{ github.event.inputs.beeVersion }}"