This commit is contained in:
Arthur Simas
2022-05-25 11:40:38 -03:00
parent cf54cb0bc2
commit 8399a0e4c1
+3 -2
View File
@@ -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