-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marko Sabec
committed
May 13, 2019
1 parent
b9b9acb
commit 54d9239
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
site/ | ||
.idea | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
env: | ||
global: | ||
- GIT_NAME: "'Nano Development'" | ||
- GIT_EMAIL: [email protected] | ||
- GH_REF: [email protected]:opensciencegrid/security.git | ||
language: python | ||
before_script: | ||
- pip install mkdocs | ||
- pip install MarkdownHighlight | ||
script: | ||
- openssl aes-256-cbc -K $encrypted_1d262b48bc9b_key -iv $encrypted_1d262b48bc9b_iv -in deploy-key.enc -out deploy-key -d | ||
- chmod 600 deploy-key | ||
- eval `ssh-agent -s` | ||
- ssh-add deploy-key | ||
- git config user.name "Nano Development" | ||
- git config user.email "[email protected]" | ||
- 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; |
Binary file not shown.