Fix slack and document it.

This commit is contained in:
Robert de Bock 2020-09-01 14:40:37 +02:00
parent 06fd5a6617
commit 34edc10d2f
2 changed files with 4 additions and 3 deletions

View File

@ -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).

View File

@ -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