Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add test to ensure output submodule is up to date. #21

Closed
itsjohncs opened this issue Jun 8, 2015 · 4 comments
Closed

Add test to ensure output submodule is up to date. #21

itsjohncs opened this issue Jun 8, 2015 · 4 comments

Comments

@itsjohncs
Copy link
Contributor

Jordan ran into an error when publishing this morning because the output submodule wasn't updated after my last change. To prevent this in the future I should add a test that only runs when testing the gh-pages branch (which I hope I can do...) that will check where the master branches output submodule points to.

@itsjohncs
Copy link
Contributor Author

It's also possible for the output submodule to be pointing too far ahead. Meaning the user hasn't pushed the output changes. This should also be checked for.

I think some more tooling in the makefile could help with this, as well as some docs to explain what's going on. Alternatively, it might make sense to drop the submodule stuff and do an alternative build process. That potentially won't be much easier though since we'll have to clone a separate repo or do some weird swapping stuff...

@itsjohncs
Copy link
Contributor Author

I tweaked the deploy process to automate things a bit more, and make it clearer when things fail (like they did last night which caused this nonsense).

@sophiebits
Copy link
Contributor

It's possible to have Travis run on master, build the site, and push automatically to gh-pages. That's what we do on React.

@itsjohncs
Copy link
Contributor Author

Oh, that sounds like a solid workflow. I'll set that up, thank you @spicyj!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants