You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .drone.yml
+22-7Lines changed: 22 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ name: default
4
4
5
5
steps:
6
6
- name: restore node_modules cache
7
-
image: codesandbox-cache:1
7
+
image: lbogdan/codesandbox-cache-plugin:1
8
8
settings:
9
9
restore: true
10
10
volumes:
@@ -15,7 +15,7 @@ steps:
15
15
- pull_request
16
16
17
17
- name: install packages
18
-
image: node:10.15.3-jessie
18
+
image: node:10.16.3-jessie
19
19
volumes:
20
20
- name: yarn-cache
21
21
path: /usr/local/share/.cache/yarn/v4
@@ -26,7 +26,7 @@ steps:
26
26
- pull_request
27
27
28
28
- name: build
29
-
image: node:10.15.3-jessie
29
+
image: node:10.16.3-jessie
30
30
commands:
31
31
- export STAGING_BRANCH=pr$DRONE_PULL_REQUEST
32
32
- yarn build
@@ -35,7 +35,7 @@ steps:
35
35
- pull_request
36
36
37
37
- name: deploy
38
-
image: codesandbox-deploy:1
38
+
image: lbogdan/codesandbox-deploy-plugin:1
39
39
settings:
40
40
domain: &domain build.csb.dev
41
41
volumes:
@@ -48,7 +48,7 @@ steps:
48
48
- pull_request
49
49
50
50
- name: create github deployment
51
-
image: codesandbox-github-deployment:1
51
+
image: lbogdan/github-deployment-plugin:1
52
52
settings:
53
53
domain: *domain
54
54
github_token:
@@ -76,8 +76,23 @@ steps:
76
76
- success
77
77
- failure
78
78
79
+
- name: github comment
80
+
image: lbogdan/github-comment-plugin:1
81
+
settings:
82
+
domain: *domain
83
+
github_token:
84
+
from_secret: github_token
85
+
template: |
86
+
Build for latest commit https://github.com/{{owner}}/{{repo}}/pull/{{pr}}/commits/{{commitSha}} {{#success}}is at https://pr{{pr}}.{{buildDomain}}/s/new{{/success}}{{^success}}failed{{/success}}.
0 commit comments