using travis encrypt?

This commit is contained in:
Marius Pana 2017-01-13 20:49:42 +02:00
parent 2651be4ddc
commit 15750d74d6

View File

@ -10,9 +10,15 @@ script:
- mkdocs build --clean
- git remote add gh-pages https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
- git fetch gh-pages
after_success: |
after_success:
- git config credential.helper "store --file=.git/credentials"
- echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials
- node ./node_modules/grunt-cli/bin/grunt release
if [ -n "$GITHUB_API_KEY" ]; then
cd "$TRAVIS_BUILD_DIR"
mkdocs gh-deploy -v --clean
cd "$TRAVIS_BUILD_DIR"
fi
env:
global:
secure: HQy0bcTMZ9r/2bgaw1T3aWCeRLNKFAEBG5+XaHqdqPMhVw+vRKBk24fKnFBaTYUd8OLn+IcHW/oN43ajtUjHCBb22xi29rLjnPyTYxajyReMFImUSb8xXRozM923N91S95iQiC2Gw3jMecSaq9YBBOmG0Kjg/P7otrj+JVV71JIZTed49vz3HR8vNtEVriGMjxAmydg9c7yHQ+0L8q//wdCHlb5Q0yCI55JDEZzkKgoccjIk+SO+PlCJFBeMuh9FATR87CAirAnpBcbcLA5f7Zy2mr6xJ4hJpsg4oyz27euNLjkY5tSZqPYSkX9WDEhYpmLrnLpL2YOSTYVf6w3Gd8IqBxQIJcaevIZA1KyQqkY/oEJbWuEWe7uW0AL+t3Fb0cGWRizZIB6aiQ19S2LVwJe2fvZSc/hqDmHiJQF9Hsb7OVmcGsAr9Cy5amxGOGxevJzakto2FlcbfQVjb/GCZD7y0Qs9yWQ5YhQW1SZs0Ij1h+7xLCIbl/maDm/7ObPQU6uWsEcfUJJYQ6YfXkTJ9qh9hjbNJusdc1KFg14dowGNfA8zX3I15X6FXWXaped7TBFYmAUdPtpexwl/PBDoTHxMcuBlzcxzV7dhsN7eBdlJLec6rPvWxv7Ud4xjOjpdUOERb9fzvkIG33wIeu2q3ZHt3tv1R9yS1YAULsSzSWg=