mirror of
https://github.com/vale981/jobmanager
synced 2025-03-04 17:31:39 -05:00
automated doc upload
This commit is contained in:
parent
da594a0ee9
commit
c9532622a8
1 changed files with 2 additions and 6 deletions
|
@ -72,10 +72,6 @@ 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 {} [ci skip]'".format(os.getenv("TRAVIS_COMMIT")), shell=True)
|
||||
except:
|
||||
pass #nothing to do
|
||||
else:
|
||||
sp.check_output("git push --force --quiet origin gh-pages", shell=True)
|
||||
sp.check_output("git commit -a -m 'travis bot build {} [ci skip]'".format(os.getenv("TRAVIS_COMMIT")), shell=True)
|
||||
sp.check_output("git push --force --quiet origin gh-pages", shell=True)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue