diff --git a/.github/workflows/deploy-manually.yml b/.github/workflows/deploy-manually.yml index 07ed744..49f7e77 100644 --- a/.github/workflows/deploy-manually.yml +++ b/.github/workflows/deploy-manually.yml @@ -60,7 +60,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} deploy: - if: needs.semantic_release.outputs.new_release_published == 'true' || github.event_name == 'workflow_dispatch' + if: ${{ needs.semantic_release.outputs.new_release_published == 'true' || github.event_name == 'workflow_dispatch' }} needs: [extract_environment, semantic_release] runs-on: [self-hosted, '${{ needs.extract_environment.outputs.environment }}'] @@ -68,8 +68,9 @@ jobs: steps: - name: print env: + EVENT: ${{ github.event_name }} IMAGE_TAG: ${{ needs.semantic_release.outputs.test }} - run: echo ${IMAGE_TAG} + run: echo ${IMAGE_TAG} ${EVENT} - name: Checkout uses: actions/checkout@v2