소스 검색

Fixes permissions on keys

paulm 11 년 전
부모
커밋
5ed016f137
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      .travis.yml

+ 2 - 0
.travis.yml

@@ -38,6 +38,8 @@ before_script:
 after_success:
 - hash=`git rev-parse HEAD`
 - cat $KEY > ~/.ssh/id_rsa
+- chmod 600 ~/.ssh/id_rsa
+- chmod 755 ~/.ssh
 - ssh -o StrictHostKeyChecking=no paul@itscovarr.com mkdir -p /var/www/storage/qgears/$hash/linux/
 - scp -o StrictHostKeyChecking=no ~/build/*.deb paul@itscovarr.com:/var/www/storage/qgears/$hash/linux/
 language: cpp