This repository was archived by the owner on Dec 2, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
workspace :
2
+ base : /srv/app
2
3
path : src
3
4
5
+ clone :
6
+ git :
7
+ image : plugins/git:latest
8
+ depth : 50
9
+ tags : true
10
+
4
11
pipeline :
5
12
build :
6
13
image : webhippie/hugo:latest
@@ -11,27 +18,29 @@ pipeline:
11
18
- make build
12
19
13
20
docker :
14
- image : plugins/docker
21
+ image : plugins/docker:latest
15
22
pull : true
23
+ secrets : [ docker_username, docker_password ]
16
24
repo : gitea/docs
17
25
tags : [ '${DRONE_BRANCH##release/v}' ]
18
26
when :
19
27
event : [ push ]
20
28
branch : [ release/* ]
21
29
22
30
docker :
23
- image : plugins/docker
31
+ image : plugins/docker:latest
24
32
pull : true
33
+ secrets : [ docker_username, docker_password ]
25
34
repo : gitea/docs
26
35
tags : [ 'latest' ]
27
36
when :
28
37
event : [ push ]
29
38
branch : [ master ]
30
39
31
40
discord :
32
- image : appleboy/drone-discord
33
- webhook_id : ${WEBHOOK_ID}
34
- webhook_token : ${WEBHOOK_TOKEN}
41
+ image : appleboy/drone-discord:latest
42
+ pull : true
43
+ secrets : [ discord_webhook_id, discord_webhook_token ]
35
44
when :
36
45
event : [ push, tag, pull_request ]
37
46
status : [ changed, failure ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments