mirror of
https://github.com/vale981/jobmanager
synced 2025-03-04 17:31:39 -05:00
travis gh-pages: display commit
This commit is contained in:
parent
662fb2032b
commit
4a2c2ff562
3 changed files with 27 additions and 26 deletions
|
@ -139,7 +139,7 @@ exclude_patterns = ['_build']
|
|||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
html_theme = 'default'
|
||||
html_theme = 'classic'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
|
|
|
@ -71,8 +71,9 @@ sp.check_output("rsync -rt --del --exclude='.git' --exclude='.nojekyll' ./build/
|
|||
os.chdir("gh_pages")
|
||||
sp.check_output("echo 'https://${GH_TOKEN}:@github.com' > .git/credentials", shell=True)
|
||||
sp.check_output("git add --all ./*", shell=True)
|
||||
|
||||
try:
|
||||
sp.check_output("git commit -a -m 'travis bot build ${TRAVIS_COMMIT} [ci skip]'", shell=True)
|
||||
sp.check_output("git commit -a -m 'travis bot build {} [ci skip]'".format(os.getenv("TRAVIS_COMMIT")), shell=True)
|
||||
except:
|
||||
pass #nothing to do
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue