|
|
|
@ -36,8 +36,8 @@ steps: |
|
|
|
|
- name: install npm dependancies |
|
|
|
|
image: node |
|
|
|
|
commands: |
|
|
|
|
- npm install |
|
|
|
|
- npm build |
|
|
|
|
- npm install |
|
|
|
|
- npm build |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: deploy on server |
|
|
|
@ -62,12 +62,12 @@ steps: |
|
|
|
|
to: |
|
|
|
|
from_secret: TELEGRAM_USERID |
|
|
|
|
message: > |
|
|
|
|
π {{repo.name}} / {{commit.branch}} - {{commit.message}} |
|
|
|
|
{{#success build.status}} |
|
|
|
|
β
succeeded for π·ββοΈ build {{build.number}} |
|
|
|
|
{{else}} |
|
|
|
|
π failed for π·ββοΈ build {{build.number}} |
|
|
|
|
{{/success}} |
|
|
|
|
π {{repo.name}} / {{commit.branch}} - {{commit.message}} |
|
|
|
|
{{#success build.status}} |
|
|
|
|
β
succeeded for π·ββοΈ build {{build.number}} |
|
|
|
|
{{else}} |
|
|
|
|
π failed for π·ββοΈ build {{build.number}} |
|
|
|
|
{{/success}} |
|
|
|
|
when: |
|
|
|
|
status: |
|
|
|
|
- failure |
|
|
|
|