Description
TomEE site publish fails in CI as it cannot (force) push due to file changes, which differ between the repo and the build.
Needs investigation
+ git push -f origin asf-site
remote: To github:apache/tomee-site-pub.git
remote: ! [rejected] edefa2f1f3272ba365f6f42cc53cfbd8e9ec62ed -> asf-site (fetch first)
remote: error: failed to push some refs to 'git@github:apache/tomee-site-pub.git'
remote: hint: Updates were rejected because the remote contains work that you do
remote: hint: not have locally. This is usually caused by another repository pushing
remote: hint: to the same ref. You may want to first integrate the remote changes
remote: hint: (e.g., 'git pull ...') before pushing again.
remote: hint: See the 'Note about fast-forwards' in 'git push --help' for details.
remote: Syncing refs/heads/asf-site...
remote: Could not sync with GitHub:
remote: Error running update hook: /x1/gitbox/hooks/update.d/01-sync-repo.py
remote: error: hook declined to update refs/heads/asf-site
To
https://gitbox.apache.org/repos/asf/tomee-site-pub.git
! [remote rejected] asf-site -> asf-site (hook declined)
error: failed to push some refs to '
https://gitbox.apache.org/repos/asf/tomee-site-pub.git
'
Build step 'Execute shell' marked build as failure
Finished: FAILURE