Mise Γ  jour de '.drone.yml'

main
gregandev 1 year ago
parent 7639fdf9f7
commit f0169ff85b
  1. 16
      .drone.yml

@ -36,8 +36,8 @@ steps:
- name: install npm dependancies - name: install npm dependancies
image: node image: node
commands: commands:
- npm install - npm install
- npm build - npm build
- name: deploy on server - name: deploy on server
@ -62,12 +62,12 @@ steps:
to: to:
from_secret: TELEGRAM_USERID from_secret: TELEGRAM_USERID
message: > message: >
πŸ“ {{repo.name}} / {{commit.branch}} - {{commit.message}} πŸ“ {{repo.name}} / {{commit.branch}} - {{commit.message}}
{{#success build.status}} {{#success build.status}}
βœ… succeeded for πŸ‘·β€β™‚οΈ build {{build.number}} βœ… succeeded for πŸ‘·β€β™‚οΈ build {{build.number}}
{{else}} {{else}}
πŸ›‘ failed for πŸ‘·β€β™‚οΈ build {{build.number}} πŸ›‘ failed for πŸ‘·β€β™‚οΈ build {{build.number}}
{{/success}} {{/success}}
when: when:
status: status:
- failure - failure

Loading…
Cancel
Save