Follow documentation a bit better.
This commit is contained in:
parent
3e2606077f
commit
ccb374e2ca
|
|
@ -131,7 +131,7 @@
|
|||
name: secure
|
||||
|
||||
- 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
|
||||
when:
|
||||
- travis.notifications.slack.secure | length < 512
|
||||
|
|
|
|||
|
|
@ -37,5 +37,6 @@ script:
|
|||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
slack:
|
||||
secure: "{{ travis.notifications.slack.secure }}"
|
||||
rooms:
|
||||
- secure: "{{ travis.notifications.slack.secure }}"
|
||||
email: false
|
||||
|
|
|
|||
Loading…
Reference in New Issue