From ccb374e2ca8a8b9634b763080b6ab24c64a04d9e Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Sat, 6 Jun 2020 07:57:37 +0200 Subject: [PATCH] Follow documentation a bit better. --- generate.yml | 2 +- templates/travis.yml.j2 | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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