diff --git a/generate.yml b/generate.yml index 2d8cf30..1b6531c 100755 --- a/generate.yml +++ b/generate.yml @@ -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 diff --git a/templates/travis.yml.j2 b/templates/travis.yml.j2 index c060ddc..b401c82 100644 --- a/templates/travis.yml.j2 +++ b/templates/travis.yml.j2 @@ -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