Skip to content

Commit

Permalink
#66 fixes for flake8 check
Browse files Browse the repository at this point in the history
  • Loading branch information
justb4 committed Nov 17, 2016
1 parent cb51b54 commit 522f8be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pavement.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,14 +207,14 @@ def refresh_docs():
@task
@needs('refresh_docs')
def publish_docs():
"""publish documentation to http://geopython.github.io/GeoHealthCheck"""
"""publish docs to http://www.geohealthcheck.org/docs via gh-pages"""

with pushd(options.base.tmp):
sh('git clone git@github.com:geopython/GeoHealthCheck.git')
with pushd('GeoHealthCheck'):
sh('git checkout gh-pages')
sh('cp -rp %s/docs/_build/html/* docs' % options.base.home)
sh('git add .')
sh('git add docs')
sh('git commit -am "update live docs [ci skip]"')
sh('git push origin gh-pages')
shutil.rmtree(options.base.tmp)
Expand Down
1 change: 1 addition & 0 deletions tests/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ def tearDown(self):
def testFoo(self):
self.assertEqual(1, 1)


if __name__ == '__main__':
unittest.main()

0 comments on commit 522f8be

Please sign in to comment.