Skip to content

Commit

Permalink
more fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Jul 8, 2024
1 parent 39fe699 commit 26f6e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-single-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,15 @@ jobs:
run: |
echo "Check validity of github_ref_before.."
if git cat-file -e ${{ inputs.github_ref_before }}^{commit}; then
"github_ref_before='${{ inputs.github_ref_before }}' is a commit!✅"
echo "github_ref_before='${{ inputs.github_ref_before }}' is a commit!✅"
else
echo "github_ref_before='${{ inputs.github_ref_before }}' is not a commit!❌ -> Rebuild image!"
echo "validation_failed=true" >> $GITHUB_OUTPUT
exit 0
fi
echo "Check validity of github_ref_after.."
if git cat-file -e ${{ inputs.github_ref_after }}^{commit}; then
"github_ref_after='${{ inputs.github_ref_after }}' is a commit!✅"
echo "github_ref_after='${{ inputs.github_ref_after }}' is a commit!✅"
else
echo "github_ref_after='${{ inputs.github_ref_after }}' is not a commit!❌ -> Rebuild image!"
echo "validation_failed=true" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 26f6e86

Please sign in to comment.