Update '.drone.yml'
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2022-01-09 22:33:04 +01:00
parent c5981e930d
commit b6281004d5
1 changed files with 1 additions and 28 deletions

View File

@ -7,31 +7,4 @@ steps:
image: busybox image: busybox
commands: commands:
- echo hello-world - echo hello-world
- echo $(pwd) - echo $(pwd) $(id)
- name: backend
image: composer
commands:
- cd backend && composer install
- name: frontend
image: node
commands:
- cd frontend && npm install
- name: discord notification
image: appleboy/drone-discord
settings:
webhook_id:
from_secret: discord_webhook_id
webhook_token:
from_secret: discord_webhook_token
username: Drone
message: >
{{#success build.status}}
{{build.event}}: build #{{build.number}} succeeded.
{{else}}
{{build.event}}: build #{{build.number}} failed.
{{/success}}
{{build.link}}
{{since build.started}}