Problem
We run the "Update staging documentation" button from notion, but the run failed.
Despite failing, the run updated the "Publish Status" property in the notion database to "Draft Published" which is misleading since it gives the user the impresion that the run was successfull.
Context
Example run: https://github.com/digidem/comapeo-docs/actions/runs/23298834645
The run failed on the "Build" step with the following message:
error: pathspec 'static/images/' did not match any file(s) known to git
This run was triggered to update a page called Sitemap (see -> ce3d61c)
Steps
[ ] - Research the reason for this error
[ ] - Update the "Publish Status" only after the run was successfull.
Regarding this second point, and to give additional context, we edited two notion buttons to give better clarity of the status of certain runs.
This buttons are:
- Update Staging Documentation : When pressed, IN NOTION we automatically change the publish status from "Ready To Publish" to "Adding to Staging Site". When the "Deploy to Github Pages" workflow finish successfully, it should update the publish status to "Draft Published"
- Generate Translations : When pressed, IN NOTION we automatically change the publish status to "Translation in Progress". When this workflow is finished succesfully, it should update the publish status to "Automatic Translation Generated"
Problem
We run the "Update staging documentation" button from notion, but the run failed.
Despite failing, the run updated the "Publish Status" property in the notion database to "Draft Published" which is misleading since it gives the user the impresion that the run was successfull.
Context
Example run: https://github.com/digidem/comapeo-docs/actions/runs/23298834645
The run failed on the "Build" step with the following message:
error: pathspec 'static/images/' did not match any file(s) known to gitThis run was triggered to update a page called Sitemap (see -> ce3d61c)
Steps
[ ] - Research the reason for this error
[ ] - Update the "Publish Status" only after the run was successfull.
Regarding this second point, and to give additional context, we edited two notion buttons to give better clarity of the status of certain runs.
This buttons are: