Skip to content

Commit

Permalink
Fix Discord config
Browse files Browse the repository at this point in the history
  • Loading branch information
jgibson02 committed Aug 10, 2019
1 parent 2474599 commit 9b05742
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .drone/.drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ steps:
- docker pull jgibson02/bloombus-client
- docker stop client
- docker rm client
- docker run -d --name client -p 3000:80 -l traefik.frontend.rule=Host:client.conchita.xyz -l traefik.docker.network=web -l traefik.port=3000 nginxdemos/hello
- docker run -d --name client -p 3000:80 -l traefik.frontend.rule=Host:client.conchita.xyz -l traefik.docker.network=web -l traefik.port=3000 jgibson02/bloombus-client
volumes:
- name: dockersock
path: /var/run/docker.sock
Expand All @@ -35,13 +35,17 @@ steps:

- name: discord
image: appleboy/drone-discord
secrets: [discord_webhook_id, discord_webhook_token]
message: |
{{ #success build.status }}
build {{ build.number }} succeeded. Good job.
{{ else }}
build {{ build.number }} failed. Fix me please.
{{ /success }}
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token
message: |
{{ #success build.status }}
build {{ build.number }} succeeded. Good job.
{{ else }}
build {{ build.number }} failed. Fix me please.
{{ /success }}
trigger:
event:
Expand Down

0 comments on commit 9b05742

Please sign in to comment.