FIX: generate better summary on deploy

This commit is contained in:
Gabriel Rosa
2022-11-03 11:00:55 -03:00
parent af12a39959
commit ca75f8f6e7
+2 -2
View File
@@ -67,8 +67,8 @@ jobs:
EVENT: ${{ github.event_name }}
IMAGE_TAG: ${{ needs.semantic_release.outputs.new_release_version }}
ENV: ${{ needs.extract_environment.outputs.environment }}
BRANCH: ${GITHUB_REF#refs/heads/}
run: echo "### Deploy da branch \`$BRANCH\` no ambiente **$ENV** :rocket:" >> $GITHUB_STEP_SUMMARY
BRANCH: $GITHUB_REF
run: echo "### Deploy da branch \`${BRANCH#refs/heads/}\` no ambiente **$ENV** :rocket:" >> $GITHUB_STEP_SUMMARY
deploy:
if: ${{ github.event_name == 'workflow_dispatch' || needs.semantic_release.outputs.new_release_published == 'true' }}