Follow documentation a bit better.
This commit is contained in:
parent
3e2606077f
commit
ccb374e2ca
|
|
@ -131,7 +131,7 @@
|
||||||
name: secure
|
name: secure
|
||||||
|
|
||||||
- name: generate secure hash
|
- name: generate secure hash
|
||||||
command: "/usr/bin/travis encrypt --pro robertdebock:{{ secure.slack_token }}#build --no-interactive"
|
command: "/usr/bin/travis encrypt --pro robertdebock:{{ secure.slack_token }}#builds --no-interactive"
|
||||||
register: travis_secure
|
register: travis_secure
|
||||||
when:
|
when:
|
||||||
- travis.notifications.slack.secure | length < 512
|
- travis.notifications.slack.secure | length < 512
|
||||||
|
|
|
||||||
|
|
@ -37,5 +37,6 @@ 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 }}"
|
rooms:
|
||||||
|
- secure: "{{ travis.notifications.slack.secure }}"
|
||||||
email: false
|
email: false
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue