diff --git a/.github/workflows/buildTestPublishContainerDeploy.yml b/.github/workflows/buildTestPublishContainerDeploy.yml index 9f5fc135d..7aee119ff 100644 --- a/.github/workflows/buildTestPublishContainerDeploy.yml +++ b/.github/workflows/buildTestPublishContainerDeploy.yml @@ -28,7 +28,6 @@ jobs: - name: Set package version run: | echo "notifyBCContainerTag=$(npm pkg get version)" >> $GITHUB_ENV - npm pkg get version publish-container: if: ${{ github.repository == 'bcgov/des-notifybc' && github.event_name != 'pull_request' }} needs: build-and-test @@ -36,9 +35,9 @@ jobs: steps: - name: Save $notifyBCContainerTag to file run: | + echo $notifyBCContainerTag echo $notifyBCContainerTag > notifyBCContainerTag.txt - name: Upload notifyBCContainerTag - if: ${{ startsWith(github.ref, 'refs/heads/') }} uses: actions/upload-artifact@v4 with: name: notifyBCContainerTag