-
Notifications
You must be signed in to change notification settings - Fork 118
/
.drone.yml
56 lines (50 loc) · 1.05 KB
/
.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
kind: pipeline
type: docker
name: default
trigger:
branch:
- master
steps:
- name: lint
image: quay.io/helmpack/chart-testing:v3.5.0
commands:
- apk add --update make
- ct lint
# cloud.drone.io runners are using a version of docker prior to 20.10.0, so
# this step currently fails due to this change in apline 3.14
# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2
# - make lint
- name: generate
image: alpine/helm:3.0.3
commands:
- apk add --update make
- make publish
- name: push
image: appleboy/drone-git-push
pull: if-not-exists
settings:
branch: master
remote: [email protected]:drone/charts.git
commit: true
commit_message: update charts [CI SKIP]
ssh_key:
from_secret: ssh_deploy_key
when:
event:
- push
branch:
- master
- name: publish
image: lucap/drone-netlify
pull: if-not-exists
settings:
path: ./docs
site_id:
from_secret: netlify_site_id
token:
from_secret: netlify_token
when:
event:
- push
branch:
- master