Skip to content

Commit

Permalink
Don't allow empty commits
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Heinrich <[email protected]>
  • Loading branch information
andistorm committed Oct 7, 2024
1 parent a7f999d commit f64d6b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github-actions/deploy-ci-artifact/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ runs:
else
commit_message="Deploy new artifact: ${{ inputs.source_repo }}/${{ inputs.workflow_run_id }}/${{ inputs.artifact_name }}"
fi
git commit -m "$commit_message" --allow-empty
git diff-index --quiet HEAD || git commit -m "$commit_message"
git push
working-directory: gh-pages-repo

0 comments on commit f64d6b6

Please sign in to comment.