CI: deploy workflow updated

This commit is contained in:
Arthur Simas
2022-05-26 15:38:36 -03:00
parent 153ba1a98b
commit cd7c7d538f
+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
deploy:
if: ${{ (github.event_name != 'workflow_dispatch' && needs.semantic_release.outputs.new_release_published == 'true') || 'true' }}
if: ${{ github.event_name == 'workflow_dispatch' || needs.semantic_release.outputs.new_release_published == 'true' }}
needs: [extract_environment, semantic_release]
runs-on:
[self-hosted, '${{ needs.extract_environment.outputs.environment }}']