Update '.drone.yml'
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
c5981e930d
commit
b6281004d5
29
.drone.yml
29
.drone.yml
|
@ -7,31 +7,4 @@ steps:
|
|||
image: busybox
|
||||
commands:
|
||||
- echo hello-world
|
||||
- echo $(pwd)
|
||||
|
||||
- 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}}
|
||||
- echo $(pwd) $(id)
|
||||
|
|
Loading…
Reference in New Issue