-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.drone.yml
More file actions
42 lines (36 loc) · 702 Bytes
/
Copy path.drone.yml
File metadata and controls
42 lines (36 loc) · 702 Bytes
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
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: format
image: jrei/crystal-alpine
commands:
- crystal tool format --check
- name: test
volumes:
image: jrei/crystal-alpine
commands:
- crystal spec -D allow_root --warnings all --error-on-warnings
- name: build docs
image: jrei/crystal-alpine
volumes:
- name: docs
path: /docs
commands:
- crystal docs -o /docs
- name: publish docs
image: jrei/gh-pages-ci
volumes:
- name: docs
path: /docs
environment:
GIT_USER: Drone CI
GIT_COMMIT_MESSAGE: Update docs
SITE_TEMP_DIR: /docs
SSH_PRIVATE_KEY:
from_secret: ssh_private_key
volumes:
- name: docs
temp: {}