Skip to content

Commit

Permalink
give failure warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyd3d committed Aug 23, 2024
1 parent 2b1fae0 commit ad34125
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,6 @@ jobs:
echo "SHA_SHORT=${SHA_SHORT}" >> $GITHUB_ENV
echo "$SHA_SHORT"
if ! docker pull kennyd3d/actions-demo:$SHA_SHORT; then
echo "❌ Failed to pull Docker image kennyd3d/actions-demo:${SHA_SHORT}" >> $GITHUB_STEP_SUMMARY
exit 1
fi
- name: Retag and push Docker Image with Release Name
run: |
echo "Retagging image tag to: ${{ github.event.release.name }}"
Expand All @@ -117,6 +112,11 @@ jobs:
run: |
echo "Test to deploy to Stable k8 using image kennyd3d/${{ env.ARTIFACT_NAME }}:${{ github.event.release.name }}"
- name: Give possible failure hint
if: failure()
run: |
"❌ QA Failed to Deploy: Did you make sure you tagged the same commit that merged to Dev? 🤔" >> $GITHUB_STEP_SUMMARY
# Manually deploy the release given the release name
deploy_stable:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ad34125

Please sign in to comment.