Skip to content

Commit

Permalink
Fixing to use ssh rather than https
Browse files Browse the repository at this point in the history
  • Loading branch information
djw8605 committed Oct 26, 2016
1 parent 05a3ae0 commit 83b4193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ env:
global:
- GIT_NAME: "'Markdown autodeploy'"
- GIT_EMAIL: djw8605@gmail.com
- GH_REF: djw8605@github.com/osg-bosco/docs.git
- GH_REF: git@github.com/osg-bosco/docs.git
language: python
before_script:
- pip install mkdocs
Expand All @@ -14,7 +14,7 @@ script:
- ssh-add deploy-key
- git config user.name "Automatic Publish"
- git config user.email "djw8605@gmail.com"
- git remote add gh-token "https://${GH_REF}";
- git remote add gh-token "${GH_REF}";
- git fetch gh-token && git fetch gh-token gh-pages:gh-pages;
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then echo "Pushing to github"; PYTHONPATH=src/ mkdocs gh-deploy -v --clean --remote-name gh-token; git push gh-token gh-pages; fi;

0 comments on commit 83b4193

Please sign in to comment.