mirror of https://github.com/rusefi/msqur.git
17 lines
452 B
Bash
Executable File
17 lines
452 B
Bash
Executable File
#. script.config
|
|
|
|
# mkdir -p ~/.ssh
|
|
openssl aes-256-cbc -K $encrypted_571de2096706_key -iv $encrypted_571de2096706_iv -in .travis/travis_ci.enc -out .travis/id_rsa -d
|
|
|
|
eval "$(ssh-agent -s)"
|
|
chmod 600 .travis/id_rsa
|
|
ssh-add .travis/id_rsa
|
|
|
|
#TODO Run backup script on remote
|
|
|
|
git rev-parse HEAD | cut -b -7 > src/VERSION
|
|
|
|
rsync -av --delete --exclude-from 'deploy_excludes.txt' -e "ssh -o StrictHostKeyChecking=no" src/ $DEPLOY_HOST/
|
|
|
|
rm .travis/id_rsa
|