{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9565","repository_url":"https://api.github.com/repos/travis-ci/travis-ci","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9565/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9565/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9565/events","html_url":"https://github.com/travis-ci/travis-ci/issues/9565","id":320012289,"number":9565,"title":"rsync doesn't work","user":{"login":"latata","id":1592865,"avatar_url":"https://avatars3.githubusercontent.com/u/1592865?v=4","gravatar_id":"","url":"https://api.github.com/users/latata","html_url":"https://github.com/latata","followers_url":"https://api.github.com/users/latata/followers","following_url":"https://api.github.com/users/latata/following{/other_user}","gists_url":"https://api.github.com/users/latata/gists{/gist_id}","starred_url":"https://api.github.com/users/latata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/latata/subscriptions","organizations_url":"https://api.github.com/users/latata/orgs","repos_url":"https://api.github.com/users/latata/repos","events_url":"https://api.github.com/users/latata/events{/privacy}","received_events_url":"https://api.github.com/users/latata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T17:30:23Z","updated_at":"2018-05-03T20:54:42Z","closed_at":null,"author_association":"NONE","body":"I was trying to use rsync to deploy my app after build but it doesn't work. I get \r\n```\r\nbash: rsync: command not found\r\n```\r\n\r\nI even tried to add `sudo apt-get install rsync` in `before_install` but it didn't help. Any ideas why is that happening?\r\n\r\nMy .travis.yml file looks like this:\r\n```\r\nlanguage: node_js\r\nnode_js:\r\n- '8'\r\naddons:\r\n  ssh_known_hosts:\r\n  - example.com\r\nbefore_install:\r\n- openssl aes-256-cbc -K $encrypted_5d2a9bb62224_key -iv $encrypted_5d2a9bb62224_iv\r\n  -in deploy_rsa.enc -out /tmp/deploy_rsa -d\r\n- eval \"$(ssh-agent -s)\"\r\n- chmod 600 /tmp/deploy_rsa\r\n- ssh-add /tmp/deploy_rsa\r\nscript: yarn test && yarn build\r\ndeploy:\r\n  provider: script\r\n  skip_cleanup: true\r\n  script: rsync -r --delete-after --quiet $TRAVIS_BUILD_DIR/build example@example.com:/home/example/\r\n  on:\r\n    branch: master\r\n```"},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/386433585","html_url":"https://github.com/travis-ci/travis-ci/issues/9565#issuecomment-386433585","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/9565","id":386433585,"user":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars3.githubusercontent.com/u/25666?v=4","gravatar_id":"","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T20:54:42Z","updated_at":"2018-05-03T20:54:42Z","author_association":"OWNER","body":"When reporting a problem, please include a build log URL that shows the problem you are describing. If it’s for a private repository and (or for any reason) you’d rather not discuss it in public, please close this issue and send email to support@travis-ci.com.\r\n\r\nThank you!"}}
{"actor":{"display_login":"BanzaiMan"}}