rich7420 opened a new pull request, #32:
URL: https://github.com/apache/ambari-website/pull/32

   ## What changes were proposed in this pull request?
   This pull request fixes an issue in the `Update .asf.yaml` step of the 
GitHub Actions workflow (`.github/workflows/website.yml`). Previously, the 
`echo 'publish:' > .asf.yaml` command overwrote the entire `.asf.yaml` file, 
causing the `staging` section to be lost. The updated file now matches the 
expected structure:
   ```yaml
   staging:
     profile: ~
     whoami: asf-site
   
   publish:
     whoami: asf-site
   ```
   ## How was this patch tested?
   This patch was tested locally using the act tool to simulate the GitHub 
Actions workflow:
   - Run act -j build-website-deploy --container-architecture linux/amd64 to 
execute the workflow.
   Verified that the .asf.yaml file was correctly generated in the asf-site 
branch with both staging and publish sections.
   - Confirmed that the workflow steps (Checkout, Use Node.js, Install Yarn, 
Build Main Document, and Update .asf.yaml) completed successfully without 
errors.
   - or making a pr for trying online GitHub Actions workflow
   
   Please review [Ambari Contributing 
Guide](https://cwiki.apache.org/confluence/display/AMBARI/How+to+Contribute) 
before opening a pull request.


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