nchammas commented on PR #696:
URL: https://github.com/apache/spark-website/pull/696#issuecomment-4773921749

   If any committers think it's a good idea, I would be happy to look into 
reworking the setup of this repo as follows:
   - Create a `master` branch from the current `asf-site` branch but delete all 
generated output. Keep only the source.
   - Delete all source from the `asf-site` branch. Keep only the generated 
output.
   - Make `master` the default branch and make `asf-site` a protected branch 
that only GitHub Actions can write to.
   - Update [the existing doc gen 
workflow](https://github.com/apache/spark-website/blob/asf-site/.github/workflows/doc_gen.yml)
 to build the docs from `master` on every commit and update `asf-site` with the 
output.
   
   I think this in theory gets us the ideal workflow:
   - Contributions happen against `master`. Diffs are small and limited to what 
was changed directly by a contributor.
   - Site is still served from `asf-site` as it is now.
   - Contributors don't have to manually generate and commit rendered docs as 
part of PRs anymore.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to