Hi Anahita,
thank your for your explanations. The link to the staging documentation
is helpful as well.
I am not sure if this will work as expected for the current setup. We
have the following mechanism for the Hugo project:
The git repository holds the content and templates for the project.
During build, the resulting html and all other needed resources go to
the public/ subdirectory which is NOT versioned in git.
I digged further and this should be possible to implement with a Github
workflow to build the artifacts and then push to the asf-site branch (or
staging for test).
I implemented a workflow for the Hugo build in .github/worflows and it
works with a push trigger on my feature branch. The build artifacts are
stored there.
It seems that the pull_request trigger does not work on the official
repository though. There are no actions executed.
I also seems that I have no access to the repository seeting so I can
neither see nor change the settings for workflows ("You don't have
access to repository options"). Might be that workflows are not
activated right now.
If anyone can shed some light on this I would be grateful.
Best regards,
Michael Brohl
ecomify GmbH - www.ecomify.de
Am 12.11.26 um 19:40 schrieb Anahita Goljahani:
Il giorno gio 12 nov 2026 alle ore 12:35 Michael Brohl<
[email protected]> ha scritto:
I imagine that we could set up automatic generation of the website code
and deployment to the web server after a commit to the “main” branch.
I need your help with this: who can assist me in setting this up on
GitHub and testing it? I’m not familiar with how the deployment
currently works.
Even a link to relevant documentation would be helpful. Thank you very
much!
Hi Michael,
according to the Infra instructions about the .asf.yaml file [*], you can
publish the site in a staging environment at ofbiz.staged.apache.org.
To do this, you can push your branch to the site repository and add the
following lines at the beginning of your branch's .asf.yaml file:
staging:
profile: ~
whoami: <your_branch_name>
I just ran a quick test a few minutes ago, and it was successful.
I hope this addresses at least part of your questions.
Regards,
Anahita
[*]
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md#staging