{"action":"created","comment":{"url":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/comments/95636160","pull_request_review_id":16198490,"id":95636160,"diff_hunk":"@@ -1,3 +1,31 @@\n #!/bin/bash -e\n \n-rsync -e ssh -p 2222 -avz --exclude-from rsync-exclude-list.txt ./ USERNAME@DOMAIN:FOLDER\n+# CHOOSE YOUR DEPLOYMENT CONFIGURATION\n+# Below are a few options for you to deploy your code\n+# Choose one by commenting out the others\n+# Or comment them all out and add your own\n+\n+\n+# All variables hardcoded\n+# Hardcode your  username@server.name:directory (ex. johndoe@mysite.com:public-www)\n+# rsync -e ssh -p -avz --exclude-from deploy-exclude-list.txt ./_site/ USERNAME@SERVER.NAME:DIRECTORY\n+\n+\n+# Prompt for username\n+# Hardcode your server.name:directory (ex. mysite.com:public-www)\n+# echo \"Please enter username: \"\n+# read usr\n+# rsync -e ssh -p -avz --exclude-from deploy-exclude-list.txt ./_site/ $usr@SERVER.NAME:DIRECTORY\n+\n+\n+# Prompt for each detail\n+echo \"Please enter username\"\n+read usr\n+echo \"Please enter server.name:diretory\"\n+read srvdir\n+rsync -e ssh -p -avz --exclude-from deploy-exclude-list.txt ./_site/ $usr@$srvdir\n+\n+\n+# Do it all with ssh keys:\n+# https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh\n+","path":"deploy.sh","position":32,"original_position":32,"commit_id":"a0a57e7eb852c6803bd8cfb41151424a7ac1bd18","original_commit_id":"a0a57e7eb852c6803bd8cfb41151424a7ac1bd18","user":{"login":"joesepi","id":143668,"avatar_url":"https://avatars.githubusercontent.com/u/143668?v=3","gravatar_id":"","url":"https://api.github.com/users/joesepi","html_url":"https://github.com/joesepi","followers_url":"https://api.github.com/users/joesepi/followers","following_url":"https://api.github.com/users/joesepi/following{/other_user}","gists_url":"https://api.github.com/users/joesepi/gists{/gist_id}","starred_url":"https://api.github.com/users/joesepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joesepi/subscriptions","organizations_url":"https://api.github.com/users/joesepi/orgs","repos_url":"https://api.github.com/users/joesepi/repos","events_url":"https://api.github.com/users/joesepi/events{/privacy}","received_events_url":"https://api.github.com/users/joesepi/received_events","type":"User","site_admin":false},"body":"Choose your adventure!","created_at":"2017-01-11T18:07:41Z","updated_at":"2017-01-11T18:08:04Z","html_url":"https://github.com/jordalgo/wordpress-docker/pull/3#discussion_r95636160","pull_request_url":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/comments/95636160"},"html":{"href":"https://github.com/jordalgo/wordpress-docker/pull/3#discussion_r95636160"},"pull_request":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3","id":101117511,"html_url":"https://github.com/jordalgo/wordpress-docker/pull/3","diff_url":"https://github.com/jordalgo/wordpress-docker/pull/3.diff","patch_url":"https://github.com/jordalgo/wordpress-docker/pull/3.patch","issue_url":"https://api.github.com/repos/jordalgo/wordpress-docker/issues/3","number":3,"state":"open","locked":false,"title":"Improvements to deployment script","user":{"login":"joesepi","id":143668,"avatar_url":"https://avatars.githubusercontent.com/u/143668?v=3","gravatar_id":"","url":"https://api.github.com/users/joesepi","html_url":"https://github.com/joesepi","followers_url":"https://api.github.com/users/joesepi/followers","following_url":"https://api.github.com/users/joesepi/following{/other_user}","gists_url":"https://api.github.com/users/joesepi/gists{/gist_id}","starred_url":"https://api.github.com/users/joesepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joesepi/subscriptions","organizations_url":"https://api.github.com/users/joesepi/orgs","repos_url":"https://api.github.com/users/joesepi/repos","events_url":"https://api.github.com/users/joesepi/events{/privacy}","received_events_url":"https://api.github.com/users/joesepi/received_events","type":"User","site_admin":false},"body":null,"created_at":"2017-01-11T18:03:42Z","updated_at":"2017-01-11T18:08:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ad68454e92f9fe542eb881fb734629e87e9e150a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3/commits","review_comments_url":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3/comments","review_comment_url":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jordalgo/wordpress-docker/issues/3/comments","statuses_url":"https://api.github.com/repos/jordalgo/wordpress-docker/statuses/a0a57e7eb852c6803bd8cfb41151424a7ac1bd18","head":{"label":"joesepi:master","ref":"master","sha":"a0a57e7eb852c6803bd8cfb41151424a7ac1bd18","user":{"login":"joesepi","id":143668,"avatar_url":"https://avatars.githubusercontent.com/u/143668?v=3","gravatar_id":"","url":"https://api.github.com/users/joesepi","html_url":"https://github.com/joesepi","followers_url":"https://api.github.com/users/joesepi/followers","following_url":"https://api.github.com/users/joesepi/following{/other_user}","gists_url":"https://api.github.com/users/joesepi/gists{/gist_id}","starred_url":"https://api.github.com/users/joesepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joesepi/subscriptions","organizations_url":"https://api.github.com/users/joesepi/orgs","repos_url":"https://api.github.com/users/joesepi/repos","events_url":"https://api.github.com/users/joesepi/events{/privacy}","received_events_url":"https://api.github.com/users/joesepi/received_events","type":"User","site_admin":false},"repo":{"id":71962710,"name":"wordpress-docker","full_name":"joesepi/wordpress-docker","owner":{"login":"joesepi","id":143668,"avatar_url":"https://avatars.githubusercontent.com/u/143668?v=3","gravatar_id":"","url":"https://api.github.com/users/joesepi","html_url":"https://github.com/joesepi","followers_url":"https://api.github.com/users/joesepi/followers","following_url":"https://api.github.com/users/joesepi/following{/other_user}","gists_url":"https://api.github.com/users/joesepi/gists{/gist_id}","starred_url":"https://api.github.com/users/joesepi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joesepi/subscriptions","organizations_url":"https://api.github.com/users/joesepi/orgs","repos_url":"https://api.github.com/users/joesepi/repos","events_url":"https://api.github.com/users/joesepi/events{/privacy}","received_events_url":"https://api.github.com/users/joesepi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joesepi/wordpress-docker","description":"A custom wordpress docker setup.","fork":true,"url":"https://api.github.com/repos/joesepi/wordpress-docker","forks_url":"https://api.github.com/repos/joesepi/wordpress-docker/forks","keys_url":"https://api.github.com/repos/joesepi/wordpress-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joesepi/wordpress-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joesepi/wordpress-docker/teams","hooks_url":"https://api.github.com/repos/joesepi/wordpress-docker/hooks","issue_events_url":"https://api.github.com/repos/joesepi/wordpress-docker/issues/events{/number}","events_url":"https://api.github.com/repos/joesepi/wordpress-docker/events","assignees_url":"https://api.github.com/repos/joesepi/wordpress-docker/assignees{/user}","branches_url":"https://api.github.com/repos/joesepi/wordpress-docker/branches{/branch}","tags_url":"https://api.github.com/repos/joesepi/wordpress-docker/tags","blobs_url":"https://api.github.com/repos/joesepi/wordpress-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joesepi/wordpress-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joesepi/wordpress-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/joesepi/wordpress-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joesepi/wordpress-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/joesepi/wordpress-docker/languages","stargazers_url":"https://api.github.com/repos/joesepi/wordpress-docker/stargazers","contributors_url":"https://api.github.com/repos/joesepi/wordpress-docker/contributors","subscribers_url":"https://api.github.com/repos/joesepi/wordpress-docker/subscribers","subscription_url":"https://api.github.com/repos/joesepi/wordpress-docker/subscription","commits_url":"https://api.github.com/repos/joesepi/wordpress-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/joesepi/wordpress-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/joesepi/wordpress-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/joesepi/wordpress-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/joesepi/wordpress-docker/contents/{+path}","compare_url":"https://api.github.com/repos/joesepi/wordpress-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joesepi/wordpress-docker/merges","archive_url":"https://api.github.com/repos/joesepi/wordpress-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joesepi/wordpress-docker/downloads","issues_url":"https://api.github.com/repos/joesepi/wordpress-docker/issues{/number}","pulls_url":"https://api.github.com/repos/joesepi/wordpress-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/joesepi/wordpress-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/joesepi/wordpress-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joesepi/wordpress-docker/labels{/name}","releases_url":"https://api.github.com/repos/joesepi/wordpress-docker/releases{/id}","deployments_url":"https://api.github.com/repos/joesepi/wordpress-docker/deployments","created_at":"2016-10-26T03:27:42Z","updated_at":"2016-10-26T03:27:47Z","pushed_at":"2017-01-11T18:06:48Z","git_url":"git://github.com/joesepi/wordpress-docker.git","ssh_url":"git@github.com:joesepi/wordpress-docker.git","clone_url":"https://github.com/joesepi/wordpress-docker.git","svn_url":"https://github.com/joesepi/wordpress-docker","homepage":null,"size":6884,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jordalgo:master","ref":"master","sha":"89ebd79f2b7ace34038dae8d92d05cb413b28243","user":{"login":"jordalgo","id":1537292,"avatar_url":"https://avatars.githubusercontent.com/u/1537292?v=3","gravatar_id":"","url":"https://api.github.com/users/jordalgo","html_url":"https://github.com/jordalgo","followers_url":"https://api.github.com/users/jordalgo/followers","following_url":"https://api.github.com/users/jordalgo/following{/other_user}","gists_url":"https://api.github.com/users/jordalgo/gists{/gist_id}","starred_url":"https://api.github.com/users/jordalgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordalgo/subscriptions","organizations_url":"https://api.github.com/users/jordalgo/orgs","repos_url":"https://api.github.com/users/jordalgo/repos","events_url":"https://api.github.com/users/jordalgo/events{/privacy}","received_events_url":"https://api.github.com/users/jordalgo/received_events","type":"User","site_admin":false},"repo":{"id":71513930,"name":"wordpress-docker","full_name":"jordalgo/wordpress-docker","owner":{"login":"jordalgo","id":1537292,"avatar_url":"https://avatars.githubusercontent.com/u/1537292?v=3","gravatar_id":"","url":"https://api.github.com/users/jordalgo","html_url":"https://github.com/jordalgo","followers_url":"https://api.github.com/users/jordalgo/followers","following_url":"https://api.github.com/users/jordalgo/following{/other_user}","gists_url":"https://api.github.com/users/jordalgo/gists{/gist_id}","starred_url":"https://api.github.com/users/jordalgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordalgo/subscriptions","organizations_url":"https://api.github.com/users/jordalgo/orgs","repos_url":"https://api.github.com/users/jordalgo/repos","events_url":"https://api.github.com/users/jordalgo/events{/privacy}","received_events_url":"https://api.github.com/users/jordalgo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jordalgo/wordpress-docker","description":"A custom wordpress docker setup.","fork":false,"url":"https://api.github.com/repos/jordalgo/wordpress-docker","forks_url":"https://api.github.com/repos/jordalgo/wordpress-docker/forks","keys_url":"https://api.github.com/repos/jordalgo/wordpress-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jordalgo/wordpress-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jordalgo/wordpress-docker/teams","hooks_url":"https://api.github.com/repos/jordalgo/wordpress-docker/hooks","issue_events_url":"https://api.github.com/repos/jordalgo/wordpress-docker/issues/events{/number}","events_url":"https://api.github.com/repos/jordalgo/wordpress-docker/events","assignees_url":"https://api.github.com/repos/jordalgo/wordpress-docker/assignees{/user}","branches_url":"https://api.github.com/repos/jordalgo/wordpress-docker/branches{/branch}","tags_url":"https://api.github.com/repos/jordalgo/wordpress-docker/tags","blobs_url":"https://api.github.com/repos/jordalgo/wordpress-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jordalgo/wordpress-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jordalgo/wordpress-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/jordalgo/wordpress-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jordalgo/wordpress-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/jordalgo/wordpress-docker/languages","stargazers_url":"https://api.github.com/repos/jordalgo/wordpress-docker/stargazers","contributors_url":"https://api.github.com/repos/jordalgo/wordpress-docker/contributors","subscribers_url":"https://api.github.com/repos/jordalgo/wordpress-docker/subscribers","subscription_url":"https://api.github.com/repos/jordalgo/wordpress-docker/subscription","commits_url":"https://api.github.com/repos/jordalgo/wordpress-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/jordalgo/wordpress-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/jordalgo/wordpress-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/jordalgo/wordpress-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/jordalgo/wordpress-docker/contents/{+path}","compare_url":"https://api.github.com/repos/jordalgo/wordpress-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jordalgo/wordpress-docker/merges","archive_url":"https://api.github.com/repos/jordalgo/wordpress-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jordalgo/wordpress-docker/downloads","issues_url":"https://api.github.com/repos/jordalgo/wordpress-docker/issues{/number}","pulls_url":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/jordalgo/wordpress-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/jordalgo/wordpress-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jordalgo/wordpress-docker/labels{/name}","releases_url":"https://api.github.com/repos/jordalgo/wordpress-docker/releases{/id}","deployments_url":"https://api.github.com/repos/jordalgo/wordpress-docker/deployments","created_at":"2016-10-20T23:59:39Z","updated_at":"2016-10-21T00:00:06Z","pushed_at":"2017-01-11T18:06:50Z","git_url":"git://github.com/jordalgo/wordpress-docker.git","ssh_url":"git@github.com:jordalgo/wordpress-docker.git","clone_url":"https://github.com/jordalgo/wordpress-docker.git","svn_url":"https://github.com/jordalgo/wordpress-docker","homepage":null,"size":6891,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3"},"html":{"href":"https://github.com/jordalgo/wordpress-docker/pull/3"},"issue":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/issues/3"},"comments":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/jordalgo/wordpress-docker/statuses/a0a57e7eb852c6803bd8cfb41151424a7ac1bd18"}}}}
{"actor":{"display_login":"joesepi"}}