Closed btlogy closed 10 months ago
I think I've found the root cause of this issue in #159:
gulp deploy
has been removed and replaced by a npm run deploy
which requires the node_modules
to be installed.node_modules
in the /usr/src/app/client
folder.client
folder mounted as a volume under /usr/src/app/client
which then hides the node_modules
directory populated at the previous step.REM: npm run ...
would have still work on a local development assuming npm install
would have been called at least once outside the container. But this is not the case on the GitHub runner: the node_modules
is just not existing.
This was a rather big change related to the deployment workflow, and I do not find any traces of a deployment after that PR was merged by @JustusFT on 23rd of May 2023. The last one was made on 23rd of Jan 2023 by @donpui.
I'm unsure how to fix this yet...
I've a few ideas about how to fix this, but I'm going to merge a few changes in the documentation first: #172
After what, I'm going to submit a few changes:
... unless I have to do both in one PR.
After a quick chat with @piegames, I've decided to merge the fix and :tada:: the deployment is now fixed! The FAQs have been updated on staging and production.
I've also noticed the deployment workflow builds and runs a bunch of containers while only one is required for the job (working on a PR to simplify those)!
Likely since May 22nd 2023, the deployment workflow fails on the deploy step:
Apparently, it was still succeeding on March 7th 2023 (no more logs).