Skip to content

Commit

Permalink
Get the deploy key
Browse files Browse the repository at this point in the history
  • Loading branch information
mloskot committed May 14, 2019
1 parent 3f939ca commit 836e866
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gdal/doc/.azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
- task: DownloadSecureFile@1
inputs:
secureFile: 'pdal-docs-ssh-key'
displayName: 'Get deploy key'
- script: |
echo $$DOWNLOADSECUREFILE_SECUREFILEPATH
mkdir ~/.ssh && mv $DOWNLOADSECUREFILE_SECUREFILEPATH ~/.ssh/id_rsa
chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa
ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
displayName: 'Deploy'

0 comments on commit 836e866

Please sign in to comment.