ongdisheng commented on PR #709:
URL: https://github.com/apache/fesod/pull/709#issuecomment-3567588248

   Hi @alaahong, I checked the Netlify logs and found the issue. The deployment 
is failing with this error: 
   
   > No package.json was found in "/opt/build/repo" 
   
   This happens because Netlify is trying to run `pnpm build` from the 
repository root. Looking at the Netlify build settings, they appear to have 
been changed or not configured properly. The correct settings should be:
   
   > Base directory: website
   > Build command: pnpm build
   > Publish directory: build
   
   However, these settings would require a `pnpm-lock.yaml` file in the 
repository, similar to what the Selenium project you shared with me previously 
uses. I don't have access to the `fesod` Netlify project to verify or update 
these settings. Could you help check what the current configuration is? 
Regarding your commit with `pull_request_target`, I've been looking into this 
and found there are some security concerns with that approach. I've researched 
a two-workflow 
[pattern](https://github.com/apache/fesod/issues/678#issuecomment-3567559178) 
and implemented it on my fork. Feel free to check it out and give any feedback.


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