-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
55 lines (52 loc) · 1.04 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: build
steps:
- name: submodules
image: alpine/git
commands:
- git submodule update --init --recursive
- name: build
image: plugins/hugo
environment:
PLUGIN_HUGO_VERSION: 0.76.5
PLUGIN_EXTENDED: true
PLUGIN_VALIDATE: true
- name: deploy
image: cschlosser/drone-ftps
environment:
FTP_USERNAME:
from_secret: username
FTP_PASSWORD:
from_secret: password
PLUGIN_HOSTNAME:
from_secret: ftphost
PLUGIN_SRC_DIR: /public
PLUGIN_DEST_DIR: /
PLUGIN_MIRROR_OPTS: -e
PLUGIN_CLEAN_DIR: false
when:
event:
exclude:
- pull_request
- name: slack
image: plugins/slack
settings:
webhook:
from_secret: slack_hook
when:
status:
- failure
- success
event:
exclude:
- pull_request
trigger:
branch:
include:
- main
---
kind: signature
hmac: dcf84fcfa5a66cb6df1c91d299495b81cb23e6bc8a80bace25e8bb1240a49a5d
...