{"id":22535318,"url":"https://github.com/danielwhatmuff/bb-slack-notify","last_synced_at":"2025-04-09T19:06:44.687Z","repository":{"id":57414265,"uuid":"120793814","full_name":"danielwhatmuff/bb-slack-notify","owner":"danielwhatmuff","description":"Notify slack when a Bitbucket pipeline deploys your code","archived":false,"fork":false,"pushed_at":"2019-10-23T00:39:16.000Z","size":57,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-09T19:06:31.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielwhatmuff.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.rst","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":"2018-02-08T17:27:24.000Z","updated_at":"2020-02-12T14:02:22.000Z","dependencies_parsed_at":"2022-08-26T20:45:37.607Z","dependency_job_id":null,"html_url":"https://github.com/danielwhatmuff/bb-slack-notify","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Fbb-slack-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Fbb-slack-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Fbb-slack-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielwhatmuff%2Fbb-slack-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielwhatmuff","download_url":"https://codeload.github.com/danielwhatmuff/bb-slack-notify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248094994,"owners_count":21046770,"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-07T10:07:06.422Z","updated_at":"2025-04-09T19:06:44.659Z","avatar_url":"https://github.com/danielwhatmuff.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bb-slack-notify\n![](https://raw.githubusercontent.com/danielwhatmuff/bb-slack-notify/master/img/screenshot.png)\n\n## Overview\n* Install and execute this CLI from within your Bitbucket Pipeline deployment steps to notify a Slack channel on deployment events.\n* Note: It only works from within Bitbucket pipelines, as it reads from the provided [Environment Variables](https://confluence.atlassian.com/bitbucket/environment-variables-794502608.html)\n\n## Example bitbucket-pipelines.yml YAML\n### Use a legacy API token\n* Add your token or webhook URL as a secure environment variable within repository settings\n```yaml\n---\npipelines:\n  custom:\n    deploy-to-prod:\n    - step:\n        name: Deploy to prod, this can be triggered manually\n        script:\n          - python deploy_my_app.py\n          - pip install bb-slack-notify \u0026\u0026 bb-slack-notify -t $SLACK_TOKEN -c your-slack-channel -e prod\n```\n### Use an incoming webhook URL\n```yaml\n          ...\n          - pip install bb-slack-notify \u0026\u0026 bb-slack-notify -w $SLACK_WEBHOOK -c your-slack-channel -e prod\n```\n\n## Related docs\n* [Webhooks](https://api.slack.com/incoming-webhooks)\n* [API Tokens](https://api.slack.com/custom-integrations/legacy-tokens)\n* [Bitbucket Pipelines](https://confluence.atlassian.com/bitbucket/configuring-your-pipeline-872013574.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwhatmuff%2Fbb-slack-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielwhatmuff%2Fbb-slack-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielwhatmuff%2Fbb-slack-notify/lists"}