Fix slack and document it.
This commit is contained in:
parent
06fd5a6617
commit
34edc10d2f
|
|
@ -76,7 +76,7 @@ This file contains a secret unique to you; te slack encryption token. You have t
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
---
|
---
|
||||||
slack_token: "YOUR_SLACK_USERNAME:YOUR_SLACK_TOKEN#CHANNEL"
|
slack_token: "YOUR_SLACK_USERNAME:YOUR_SLACK_TOKEN"
|
||||||
```
|
```
|
||||||
|
|
||||||
See [Travis documentation](https://docs.travis-ci.com/user/notifications/#configuring-slack-notifications).
|
See [Travis documentation](https://docs.travis-ci.com/user/notifications/#configuring-slack-notifications).
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ script:
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
slack:
|
slack:
|
||||||
secure: {{ travis.notifications.slack.secure }}
|
secure: "{{ travis.notifications.slack.secure }}"
|
||||||
on_success: change
|
on_success: change
|
||||||
|
template: "%{result}: %{repository_slug}@%{branch}, build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>)"
|
||||||
email: false
|
email: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue