Skip to content

Commit

Permalink
try quoting var
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Feb 7, 2020
1 parent 0bed552 commit e3a0e80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/azp/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
- script: |
#export AWS_ACCESS_KEY_ID = variables['aws-credentials.AWS_ACCESS_KEY_ID']
#export AWS_SECRET_ACCESS_KEY = variables['aws-credentials.AWS_SECRET_ACCESS_KEY']
export AWS_ACCESS_KEY_ID = $(AWS_ACCESS_KEY_ID)
export AWS_SECRET_ACCESS_KEY = $(AWS_SECRET_ACCESS_KEY)
export AWS_ACCESS_KEY_ID="$(AWS_ACCESS_KEY_ID)"
export AWS_SECRET_ACCESS_KEY="$(AWS_SECRET_ACCESS_KEY)"
cd doc/build
aws s3 sync html --quiet "s3://pdal/docs/$(Build.SourceVersion)/html/" --acl public-read
aws s3 cp --quiet latex/PDAL.pdf "s3://pdal/docs/$(Build.SourceVersion)/html/" --acl public-read
aws s3 sync html "s3://pdal/docs/$(Build.SourceVersion)/html/" --acl public-read --quiet
aws s3 cp latex/PDAL.pdf "s3://pdal/docs/$(Build.SourceVersion)/html/" --acl public-read --quiet
echo "PDF location: https://pdal.s3.amazonaws.com/docs/$(Build.SourceVersion)/html/PDAL.pdf"
echo "HTML location: https://pdal.s3.amazonaws.com/docs/$(Build.SourceVersion)/html/index.html"
displayName: 'Upload https://pdal.s3.amazonaws.com/docs/$(Build.SourceVersion)/html/index.html'
Expand Down

0 comments on commit e3a0e80

Please sign in to comment.