Skip to content

Commit

Permalink
Always amend to the same commit for gh-pages (paritytech#5909)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr authored Oct 2, 2024
1 parent 3cf83ca commit 8614dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab/pipeline/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ publish-rustdoc:
# This causes GitLab to exit immediately and marks this job failed.
# We don't want to mark the entire job failed if there's nothing to
# publish though, hence the `|| true`.
- git commit -m "___Updated docs for ${CI_COMMIT_REF_NAME}___" ||
- git commit --amend -m "___Updated docs" ||
echo "___Nothing to commit___"
- git push origin gh-pages --force
# artificial sleep to publish gh-pages
Expand Down

0 comments on commit 8614dc0

Please sign in to comment.