{"id":22965800,"url":"https://github.com/thenextweb/deploybot","last_synced_at":"2025-04-02T04:25:36.417Z","repository":{"id":31667725,"uuid":"35233172","full_name":"thenextweb/deploybot","owner":"thenextweb","description":"Give notice of deploys over slack","archived":false,"fork":false,"pushed_at":"2017-02-19T09:09:51.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-02-07T19:16:59.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dpa99c/phonegap-launch-navigator","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thenextweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-07T17:15:49.000Z","updated_at":"2017-02-19T09:09:52.000Z","dependencies_parsed_at":"2022-06-26T16:17:21.957Z","dependency_job_id":null,"html_url":"https://github.com/thenextweb/deploybot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenextweb%2Fdeploybot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenextweb%2Fdeploybot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenextweb%2Fdeploybot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thenextweb%2Fdeploybot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thenextweb","download_url":"https://codeload.github.com/thenextweb/deploybot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246754537,"owners_count":20828369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-14T20:16:30.145Z","updated_at":"2025-04-02T04:25:36.392Z","avatar_url":"https://github.com/thenextweb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deploybot\n![Sequences shortened. Deploy speeds may vary.](https://raw.github.com/thenextweb/deploybot/master/deploybot.gif)\n\nIf you are running a critical operation (or want to make your operation look like a critical operation) you'll probably want to give advance warnings to your team before deploying and potentially locking up the codebase for a few seconds.\n\nDeploybot runs as a shell script, counts down for whatever seconds you want him/her/bun to run, giving messages in the meantime and then closes itself, letting the next script of your actual deployment process go on.\n\n_Or, you know, you can also run it without actually deploying, just to mess with your team._\n\n\n#Usage\n## Instalation\n\tsudo npm install\n\t\nNext you have to create a bot on your slack account, you can do so [https://tnw.slack.com/services/new/bot](here). After you are done picking an ingenious name and avatar, invite your freshly created bot from slack to whichever channel you want it to talk to. You'll need to get the ID for that channel, which you can get from the API by browsing through the subscribed channels ([https://gist.github.com/walaura/7a72f3cde025301301a8](example code)).\n\nOnce that's set just change your time to launch and add/remove messages, these are sent using the standard Slack API so you can use stuff like \u003c!channel\u003e to notify the entire channel.\n\n## Integration\nUnless you are really commited to running it manually, deploybot only really makes sense as part of your larger deploy process, this varies from system to system but here's how ours is set up on Capistrano:\n\n\t\ttask :slack do\n\t\t\tsystem('node .capistrano/lib/deploybot/app.js')\n\t\tend\n\t\n\t\t$ cap slack deploy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenextweb%2Fdeploybot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthenextweb%2Fdeploybot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthenextweb%2Fdeploybot/lists"}