|
|
@ -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 |
|
|
|