Skip to content

Commit

Permalink
travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Wilson committed Mar 18, 2016
1 parent 5d2966c commit eafb9b6
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: node_js
node_js:
- "4.4.0"
- 4.4.0
before_script:
- npm install
- gulp build
- npm install
- gulp build
after_success:
- eval "$(ssh-agent -s)"
- chmod 600 .travis/deploy_key.pem
- ssh-add .travis/deploy_key.pem
- git remote add deploy /srv/users/serverpilot/apps/sketchsheets/repo/sketchsheets.git
- git push deploy
- eval "$(ssh-agent -s)"
- chmod 600 deploy-key
- mv deploy-key ~/.ssh/id_rsa
- git remote add deploy /srv/users/serverpilot/apps/sketchsheets/.git
- git push deploy
before_install:
- bash install.sh
3 changes: 3 additions & 0 deletions deploy-key.enc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
�t8�e�Ef9�����5�z(��^�S<IL�
�~��!S���\��L�1JN[!�����in�2풣�X�m1�:�
�M�}>��;y�c��f�h�!�:����������#"��=�V�������N����g}������{Y{Ig ���#j�IJ?r�2_pE�N>��wX4�[�N���j*���_Uc�k���/v�?~�u� S�ꭎ��#� U�۩k^��cEU�XY�(Ɨ�����)U��?����uHdٻݓ` ��������%�q.�Go� �GjH#!Or�]LN p��%~����'�+�`���6�&�9�t�'N���?��[�vm�.��� 9��uuM8���b���񫂪�/�����}�|��#�kn\�>\���������j�s���V
Expand Down
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -x

cd apps/sketchsheets/.git
git pull
5 changes: 5 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -x

openssl aes-256-cbc -K $encrypted_f56f3dcd07d2_key -iv $encrypted_f56f3dcd07d2_iv -in deploy-key.enc -out deploy-key -d
rm deploy-key.enc

0 comments on commit eafb9b6

Please sign in to comment.