tobous opened a new pull request #17: URL: https://github.com/apache/db-jdo-site/pull/17
Adjusts the deploy workflow to preserver the site branch history. Also introduces a recovery workflow to recreate a stable base state for the site branch in case it ever gets deleted or corrupted. This recovery is necessary as the new deploy action can't function with an existing site branch that is in the expected state. ### Commits <details><summary><b>Adjust site build workflow to preserve build artifact history</b></summary> <br> Adjusts the workflow building and publishing the website to the site branch to preserve the history of the site branch. This was done to avoid issues with the Apache backend caused by force-pushing the new build results to an orphan branch every time. This new behavior is a bit more brittle than the old one as it relies on the current state of the site branch. The action will fails if the site branch is not already present or is in an unexpected state. To resolve such issues, a future commit will introduce a recovery workflow that can be used to manually return the site branch to a usable base state. </details> <details><summary><b>Add recovery workflow to recreate the site branch</b></summary> <br> Adds a workflow to recreate the site branch in case it ever gets deleted on accident or becomes corrupted. The new workflow to automatically deploy the site relies on there being a functioning site branch. This workflow offers an recovery option to recreate a stable version of the site branch with which the deploy workflow can function. </details> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org