diff --git a/.github/workflows/deploy-manually.yml b/.github/workflows/deploy-manually.yml index 630d065..d3e9df1 100644 --- a/.github/workflows/deploy-manually.yml +++ b/.github/workflows/deploy-manually.yml @@ -37,9 +37,8 @@ jobs: outputs: #new_release_published: ${{ steps.semantic.outputs.last_release_version != steps.semantic.outputs.new_release_version }} new_release_published: ${{ steps.semantic.outputs.new_release_published }} - new_release_version: ${{ steps.semantic.outputs.new_release_version }} - test: ${{ (steps.semantic.outputs.new_release_published == 'true' && steps.semantic.outputs.new_release_version) || (github.event_name == 'workflow_dispatch' && '0.0.0') }} - testt: ${{ (needs.semantic_release.outputs.new_release_published == 'true' && needs.semantic_release.outputs.new_release_version) || '1.0.0' }} + #new_release_version: ${{ steps.semantic.outputs.new_release_version }} + new_release_version: ${{ (steps.semantic.outputs.new_release_published == 'true' && steps.semantic.outputs.new_release_version) || (github.event_name == 'workflow_dispatch' && '0.0.0') }} steps: - name: Checkout uses: actions/checkout@v2 @@ -67,12 +66,12 @@ jobs: [self-hosted, '${{ needs.extract_environment.outputs.environment }}'] steps: - - name: print + - name: Printing stats env: EVENT: ${{ github.event_name }} - IMAGE_TAG: ${{ needs.semantic_release.outputs.test }} - IMAGE_TAGG: ${{ needs.semantic_release.outputs.testT }} - run: echo ${IMAGE_TAG} ${IMAGE_TAGG} ${EVENT} + IMAGE_TAG: ${{ needs.semantic_release.outputs.new_release_version }} + ENV: ${{ needs.extract_environment.outputs.environment }} + run: echo ${EVENT} ${IMAGE_TAG} > ${ENV} - name: Checkout uses: actions/checkout@v2