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

ldez/travis-continuous-delivery-mkdocs-publish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis continuous delivery

Build Status

This project explains how to manipulate a Git repository within Travis CI to publish a static documentation site build with mkdocs on GitHub Page.

Create mkdocs projet

mkdocs new my-folder
cd my-folder

# Display in a brawser
mkdocs serve

git init
echo "site/" > .gitignore

# Build static files
mkdocs build
mkdocs build --clean

# Deploy GitHub Pages
mkdocs gh-deploy --clean

Fails

Following commands doesn't work:

git remote add docs ${GIT_REPO}
mkdocs gh-deploy -c -m $REVISION -b master -r docs

And fail without errors...

About

Travis continuous delivery - Mkdocs - Only for testing purpose

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages