Christian Legnitto 2019-04-16 21:27:24 -07:00
parent 17e564c6f0
commit 94cc621598
2 changed files with 58 additions and 57 deletions

View file

@ -1,5 +1,4 @@
jobs:
- job: check_formatting
displayName: Check formatting
pool:
@ -35,11 +34,11 @@ jobs:
variables:
- group: github-keys
steps:
# - task: InstallSSHKey@0
# inputs:
# hostName: $(secret.GHSshKnownHosts)
# sshPublicKey: $(secret.GHSshPub)
# sshKeySecureFile: $(secret.GHSshPriv)
- task: InstallSSHKey@0
inputs:
hostName: $(GHSshKnownHosts)
sshPublicKey: $(GHSshPub)
sshKeySecureFile: $(GHSshPriv)
- script: |
./docs/book/ci-build.sh master

View file

@ -44,6 +44,8 @@ git clean -fd
git checkout gh-pages
rm -rf $VERSION
mv /tmp/book-content ./$VERSION
git config --local user.name "Juniper Doc Bot"
git config --local user.email "juniper@example.com"
git add -A $VERSION
git commit -m "Updated book for $VERSION"
git commit -m "Updated book for $VERSION ***NO_CI***"
git push origin gh-pages