Skip to content
Snippets Groups Projects
Unverified Commit 8614dc0e authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Always amend to the same commit for gh-pages (#5909)

parent 3cf83ca8
No related merge requests found
Pipeline #499652 waiting for manual action with stages
in 1 hour, 1 minute, and 24 seconds
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment