Reaction: Deploy-docs step fails consistently during CI

Created on 8 Jul 2019  路  8Comments  路  Source: reactioncommerce/reaction

Summary

Our CI is reporting failure due to the deploy-docs step that happens when our master branch is updated. If we still rely on this step to deploy docs, let's fix this. If we don't, let's eliminate it please. I'd like Circle to report success for our master branch. Our CI process should give us and people looking at our projects confidence that the tests are passing and the project is maintained.

image

Generating output files...
Finished running in 9.28 seconds.
Exited with code 1

All 8 comments

@machikoyasuda do you know if we're still relying on this step for our documentation to stay up-to-date?

There must be a JSDoc that is not compiling correctly: https://app.circleci.com/jobs/github/reactioncommerce/reaction/47338

The deploy-docs step builds this site: http://api.docs.reactioncommerce.com/ and if there's any JSDoc comment that causes the compile step to break, the job will fail.

Thanks. Lemme rerun via SSH and see if it will tell me what's broken

Interestingly - when running via SSH I was able to deploy the docs with no errors. 馃

Building the docs connected via SSH returns 0

circleci@4027eeda8d7e:~/reaction-app$ echo "$?"
0

@spencern Good catch!!

I'd like to keep this and also have merges to develop deploy to a different bucket+url. Both should be linked to from the main docs site. Eventually we can roll this into the overall pattern for keeping versioned docs in each repo /docs.

Was this page helpful?
0 / 5 - 0 ratings