ONEARMY / community-platform

A platform to build useful communities that aim to tackle global problems
https://platform.onearmy.earth
MIT License
1.09k stars 369 forks source link

[bug] changes to documentation are not going live #3667

Open pizzaisdavid opened 2 months ago

pizzaisdavid commented 2 months ago

I think it might be related to this job failing: https://github.com/ONEARMY/community-platform/actions/workflows/docs-deploy.yml

pizzaisdavid commented 2 months ago
Error [PathError]: Failed to find .rc file at path: /home/runner/work/community-platform/community-platform/.env-cmdrc.js
    at Object.getRCFileVars (/home/runner/work/community-platform/community-platform/packages/documentation/node_modules/env-cmd/dist/parse-rc-file.js:18:27)
    at async getRCFile (/home/runner/work/community-platform/community-platform/packages/documentation/node_modules/env-cmd/dist/get-env-vars.js:65:25)
    at async Object.EnvCmd (/home/runner/work/community-platform/community-platform/packages/documentation/node_modules/env-cmd/dist/env-cmd.js:39:15)
    at async Object.CLI (/home/runner/work/community-platform/community-platform/packages/documentation/node_modules/env-cmd/dist/env-cmd.js:19:16)

:thinking: https://github.com/ONEARMY/community-platform/commit/df53a153e7237861651e403dea40a93774be13bb#diff-f949a98aa1af8823171983127520afabafb28d45ff3f25b4ee2f64eddb0a06db

benfurber commented 2 months ago

@goratt12 This might be why you had problems last week? So hopefully the fix you have locally can be deployed soon?

goratt12 commented 2 months ago

@benfurber yeah exactly same error, I will post the fix with the new documentation suggestion. the fix I found was changing the command but maybe recreating the deleted file will solve it too, just need to make sure it doesn't interfere with Vite.