{"action":"created","comment":{"url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/comments/235575915","pull_request_review_id":177473552,"id":235575915,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTU3NTkxNQ==","diff_hunk":"@@ -68,6 +68,16 @@ jobs:\n       - run:\n           name: Updating configuration and database\n           command: ./scripts/start.sh\n+  cron:\n+    docker:\n+      - image: govau/cf-cli\n+    working_directory: /app\n+    steps:\n+      - attach_workspace:","path":".circleci/config.yml","position":9,"original_position":9,"commit_id":"579728c0eb7fdad8c1695f174170371892b3b11f","original_commit_id":"579728c0eb7fdad8c1695f174170371892b3b11f","user":{"login":"gordcorp","id":2324569,"node_id":"MDQ6VXNlcjIzMjQ1Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/2324569?v=4","gravatar_id":"","url":"https://api.github.com/users/gordcorp","html_url":"https://github.com/gordcorp","followers_url":"https://api.github.com/users/gordcorp/followers","following_url":"https://api.github.com/users/gordcorp/following{/other_user}","gists_url":"https://api.github.com/users/gordcorp/gists{/gist_id}","starred_url":"https://api.github.com/users/gordcorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordcorp/subscriptions","organizations_url":"https://api.github.com/users/gordcorp/orgs","repos_url":"https://api.github.com/users/gordcorp/repos","events_url":"https://api.github.com/users/gordcorp/events{/privacy}","received_events_url":"https://api.github.com/users/gordcorp/received_events","type":"User","site_admin":false},"body":"btw I'm not actually sure if this `attach_workspace` will work here - usually the workspace is saved in the 'test' job,  and Im not sure if this will work in this context.","created_at":"2018-11-22T00:53:08Z","updated_at":"2018-11-22T00:53:08Z","html_url":"https://github.com/govau/dta-website-rebuild/pull/606#discussion_r235575915","pull_request_url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/comments/235575915"},"html":{"href":"https://github.com/govau/dta-website-rebuild/pull/606#discussion_r235575915"},"pull_request":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606"}}},"pull_request":{"url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606","id":232829903,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyODI5OTAz","html_url":"https://github.com/govau/dta-website-rebuild/pull/606","diff_url":"https://github.com/govau/dta-website-rebuild/pull/606.diff","patch_url":"https://github.com/govau/dta-website-rebuild/pull/606.patch","issue_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues/606","number":606,"state":"open","locked":false,"title":"Adds a cron script to the sites.","user":{"login":"imperator99","id":4567284,"node_id":"MDQ6VXNlcjQ1NjcyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4567284?v=4","gravatar_id":"","url":"https://api.github.com/users/imperator99","html_url":"https://github.com/imperator99","followers_url":"https://api.github.com/users/imperator99/followers","following_url":"https://api.github.com/users/imperator99/following{/other_user}","gists_url":"https://api.github.com/users/imperator99/gists{/gist_id}","starred_url":"https://api.github.com/users/imperator99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imperator99/subscriptions","organizations_url":"https://api.github.com/users/imperator99/orgs","repos_url":"https://api.github.com/users/imperator99/repos","events_url":"https://api.github.com/users/imperator99/events{/privacy}","received_events_url":"https://api.github.com/users/imperator99/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-22T00:28:32Z","updated_at":"2018-11-22T00:53:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91a2202d109bd6134b06304535bb2de2db245b49","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606/commits","review_comments_url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606/comments","review_comment_url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/comments{/number}","comments_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues/606/comments","statuses_url":"https://api.github.com/repos/govau/dta-website-rebuild/statuses/579728c0eb7fdad8c1695f174170371892b3b11f","head":{"label":"govau:Cron-script","ref":"Cron-script","sha":"579728c0eb7fdad8c1695f174170371892b3b11f","user":{"login":"govau","id":25235510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjM1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/25235510?v=4","gravatar_id":"","url":"https://api.github.com/users/govau","html_url":"https://github.com/govau","followers_url":"https://api.github.com/users/govau/followers","following_url":"https://api.github.com/users/govau/following{/other_user}","gists_url":"https://api.github.com/users/govau/gists{/gist_id}","starred_url":"https://api.github.com/users/govau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govau/subscriptions","organizations_url":"https://api.github.com/users/govau/orgs","repos_url":"https://api.github.com/users/govau/repos","events_url":"https://api.github.com/users/govau/events{/privacy}","received_events_url":"https://api.github.com/users/govau/received_events","type":"Organization","site_admin":false},"repo":{"id":111857520,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4NTc1MjA=","name":"dta-website-rebuild","full_name":"govau/dta-website-rebuild","private":false,"owner":{"login":"govau","id":25235510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjM1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/25235510?v=4","gravatar_id":"","url":"https://api.github.com/users/govau","html_url":"https://github.com/govau","followers_url":"https://api.github.com/users/govau/followers","following_url":"https://api.github.com/users/govau/following{/other_user}","gists_url":"https://api.github.com/users/govau/gists{/gist_id}","starred_url":"https://api.github.com/users/govau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govau/subscriptions","organizations_url":"https://api.github.com/users/govau/orgs","repos_url":"https://api.github.com/users/govau/repos","events_url":"https://api.github.com/users/govau/events{/privacy}","received_events_url":"https://api.github.com/users/govau/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/govau/dta-website-rebuild","description":"Repository to hold code for www.dta.gov.au","fork":false,"url":"https://api.github.com/repos/govau/dta-website-rebuild","forks_url":"https://api.github.com/repos/govau/dta-website-rebuild/forks","keys_url":"https://api.github.com/repos/govau/dta-website-rebuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/govau/dta-website-rebuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/govau/dta-website-rebuild/teams","hooks_url":"https://api.github.com/repos/govau/dta-website-rebuild/hooks","issue_events_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues/events{/number}","events_url":"https://api.github.com/repos/govau/dta-website-rebuild/events","assignees_url":"https://api.github.com/repos/govau/dta-website-rebuild/assignees{/user}","branches_url":"https://api.github.com/repos/govau/dta-website-rebuild/branches{/branch}","tags_url":"https://api.github.com/repos/govau/dta-website-rebuild/tags","blobs_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/govau/dta-website-rebuild/statuses/{sha}","languages_url":"https://api.github.com/repos/govau/dta-website-rebuild/languages","stargazers_url":"https://api.github.com/repos/govau/dta-website-rebuild/stargazers","contributors_url":"https://api.github.com/repos/govau/dta-website-rebuild/contributors","subscribers_url":"https://api.github.com/repos/govau/dta-website-rebuild/subscribers","subscription_url":"https://api.github.com/repos/govau/dta-website-rebuild/subscription","commits_url":"https://api.github.com/repos/govau/dta-website-rebuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/govau/dta-website-rebuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/govau/dta-website-rebuild/contents/{+path}","compare_url":"https://api.github.com/repos/govau/dta-website-rebuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/govau/dta-website-rebuild/merges","archive_url":"https://api.github.com/repos/govau/dta-website-rebuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/govau/dta-website-rebuild/downloads","issues_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues{/number}","pulls_url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls{/number}","milestones_url":"https://api.github.com/repos/govau/dta-website-rebuild/milestones{/number}","notifications_url":"https://api.github.com/repos/govau/dta-website-rebuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/govau/dta-website-rebuild/labels{/name}","releases_url":"https://api.github.com/repos/govau/dta-website-rebuild/releases{/id}","deployments_url":"https://api.github.com/repos/govau/dta-website-rebuild/deployments","created_at":"2017-11-23T23:28:19Z","updated_at":"2018-11-21T05:50:35Z","pushed_at":"2018-11-22T00:48:38Z","git_url":"git://github.com/govau/dta-website-rebuild.git","ssh_url":"git@github.com:govau/dta-website-rebuild.git","clone_url":"https://github.com/govau/dta-website-rebuild.git","svn_url":"https://github.com/govau/dta-website-rebuild","homepage":"","size":53209,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2,"open_issues":15,"watchers":1,"default_branch":"develop"}},"base":{"label":"govau:develop","ref":"develop","sha":"7c618254fb8c51f7ea9dcf29b9415570d1059ed1","user":{"login":"govau","id":25235510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjM1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/25235510?v=4","gravatar_id":"","url":"https://api.github.com/users/govau","html_url":"https://github.com/govau","followers_url":"https://api.github.com/users/govau/followers","following_url":"https://api.github.com/users/govau/following{/other_user}","gists_url":"https://api.github.com/users/govau/gists{/gist_id}","starred_url":"https://api.github.com/users/govau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govau/subscriptions","organizations_url":"https://api.github.com/users/govau/orgs","repos_url":"https://api.github.com/users/govau/repos","events_url":"https://api.github.com/users/govau/events{/privacy}","received_events_url":"https://api.github.com/users/govau/received_events","type":"Organization","site_admin":false},"repo":{"id":111857520,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4NTc1MjA=","name":"dta-website-rebuild","full_name":"govau/dta-website-rebuild","private":false,"owner":{"login":"govau","id":25235510,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MjM1NTEw","avatar_url":"https://avatars3.githubusercontent.com/u/25235510?v=4","gravatar_id":"","url":"https://api.github.com/users/govau","html_url":"https://github.com/govau","followers_url":"https://api.github.com/users/govau/followers","following_url":"https://api.github.com/users/govau/following{/other_user}","gists_url":"https://api.github.com/users/govau/gists{/gist_id}","starred_url":"https://api.github.com/users/govau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/govau/subscriptions","organizations_url":"https://api.github.com/users/govau/orgs","repos_url":"https://api.github.com/users/govau/repos","events_url":"https://api.github.com/users/govau/events{/privacy}","received_events_url":"https://api.github.com/users/govau/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/govau/dta-website-rebuild","description":"Repository to hold code for www.dta.gov.au","fork":false,"url":"https://api.github.com/repos/govau/dta-website-rebuild","forks_url":"https://api.github.com/repos/govau/dta-website-rebuild/forks","keys_url":"https://api.github.com/repos/govau/dta-website-rebuild/keys{/key_id}","collaborators_url":"https://api.github.com/repos/govau/dta-website-rebuild/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/govau/dta-website-rebuild/teams","hooks_url":"https://api.github.com/repos/govau/dta-website-rebuild/hooks","issue_events_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues/events{/number}","events_url":"https://api.github.com/repos/govau/dta-website-rebuild/events","assignees_url":"https://api.github.com/repos/govau/dta-website-rebuild/assignees{/user}","branches_url":"https://api.github.com/repos/govau/dta-website-rebuild/branches{/branch}","tags_url":"https://api.github.com/repos/govau/dta-website-rebuild/tags","blobs_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/refs{/sha}","trees_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/trees{/sha}","statuses_url":"https://api.github.com/repos/govau/dta-website-rebuild/statuses/{sha}","languages_url":"https://api.github.com/repos/govau/dta-website-rebuild/languages","stargazers_url":"https://api.github.com/repos/govau/dta-website-rebuild/stargazers","contributors_url":"https://api.github.com/repos/govau/dta-website-rebuild/contributors","subscribers_url":"https://api.github.com/repos/govau/dta-website-rebuild/subscribers","subscription_url":"https://api.github.com/repos/govau/dta-website-rebuild/subscription","commits_url":"https://api.github.com/repos/govau/dta-website-rebuild/commits{/sha}","git_commits_url":"https://api.github.com/repos/govau/dta-website-rebuild/git/commits{/sha}","comments_url":"https://api.github.com/repos/govau/dta-website-rebuild/comments{/number}","issue_comment_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues/comments{/number}","contents_url":"https://api.github.com/repos/govau/dta-website-rebuild/contents/{+path}","compare_url":"https://api.github.com/repos/govau/dta-website-rebuild/compare/{base}...{head}","merges_url":"https://api.github.com/repos/govau/dta-website-rebuild/merges","archive_url":"https://api.github.com/repos/govau/dta-website-rebuild/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/govau/dta-website-rebuild/downloads","issues_url":"https://api.github.com/repos/govau/dta-website-rebuild/issues{/number}","pulls_url":"https://api.github.com/repos/govau/dta-website-rebuild/pulls{/number}","milestones_url":"https://api.github.com/repos/govau/dta-website-rebuild/milestones{/number}","notifications_url":"https://api.github.com/repos/govau/dta-website-rebuild/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/govau/dta-website-rebuild/labels{/name}","releases_url":"https://api.github.com/repos/govau/dta-website-rebuild/releases{/id}","deployments_url":"https://api.github.com/repos/govau/dta-website-rebuild/deployments","created_at":"2017-11-23T23:28:19Z","updated_at":"2018-11-21T05:50:35Z","pushed_at":"2018-11-22T00:48:38Z","git_url":"git://github.com/govau/dta-website-rebuild.git","ssh_url":"git@github.com:govau/dta-website-rebuild.git","clone_url":"https://github.com/govau/dta-website-rebuild.git","svn_url":"https://github.com/govau/dta-website-rebuild","homepage":"","size":53209,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":2,"open_issues":15,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606"},"html":{"href":"https://github.com/govau/dta-website-rebuild/pull/606"},"issue":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/issues/606"},"comments":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/issues/606/comments"},"review_comments":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606/comments"},"review_comment":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/pulls/606/commits"},"statuses":{"href":"https://api.github.com/repos/govau/dta-website-rebuild/statuses/579728c0eb7fdad8c1695f174170371892b3b11f"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"gordcorp"}}