Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continuous integration for dev docs #9

Closed
infotexture opened this issue Nov 22, 2015 · 6 comments
Closed

Continuous integration for dev docs #9

infotexture opened this issue Nov 22, 2015 · 6 comments
Labels
feature New feature or request
Milestone

Comments

@infotexture
Copy link
Member

Implement a continuous integration solution to automatically republish the Development documentation on the project website at www.dita-ot.org/dev whenever changes are pushed to the develop branch of the dita-ot/docs repository.

@infotexture infotexture added the feature New feature or request label Nov 22, 2015
@infotexture infotexture added this to the 2.3 milestone Nov 22, 2015
@infotexture
Copy link
Member Author

The initial CI implementation is available in recent commits to the docs repo.

@jelovirt I suggest we abbreviate the commit SHA in the site repo commit messages to 7 characters, to make the logs a bit more readable:

Deploy dita-ot/docs@65f9630 to dev folder

jelovirt added a commit to dita-ot/docs that referenced this issue Mar 24, 2016
@jelovirt
Copy link
Member

I'd like to make another improvement, where before committing the changes, the script goes through every changed file and checks if only the commit line in YAML front matter has changed. If that's the only change, then we reset that change because we don't actually need changes like that polluting the log.

@infotexture
Copy link
Member Author

Would be great to also run the CI build on pull request branches in addition to develop, but we could treat that as a separate issue.

@infotexture
Copy link
Member Author

The YAML front matter reset in dita-ot/docs@42ab471 and the stable ID generation changes from dita-ot/dita-ot#2276 now yield clean commits that are limited to the changes made in the original source files, like in 92ae1a1.

infotexture added a commit to dita-ot/docs that referenced this issue Apr 7, 2016
@infotexture
Copy link
Member Author

Verified successful deployment of changes from dita-ot/docs@d531688 to master in ceb7a02.

@infotexture
Copy link
Member Author

See https://travis-ci.org/dita-ot/docs for latest build status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants