-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
55 lines (49 loc) · 1.21 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
name: default
steps:
- name: submodules
image: docker:git
environment:
SSH_KEY:
from_secret: ssh_key
SSH_HOST:
from_secret: ssh_host
USER_EMAIL:
from_secret: user_email
USER_NAME:
from_secret: user_name
commands:
- ./building/drone-ssh-helper.sh submodule
- name: test
image: docker.parasynthetic.dev/karlredman/sphinx-base:latest
pull: if-not-exists
commands:
- ./building/test.sh 3.5.3
- ./building/test.sh 3.6.8
- ./building/test.sh 3.7.2
- name: build_docs
image: docker.parasynthetic.dev/karlredman/sphinx-base:latest
pull: if-not-exists
commands:
- bash -c 'source /root/.bashrc && make -C docsource github'
- name: deploy
image: docker:git
environment:
# SSH_USER:
# from_secret: ssh_user
SSH_KEY:
from_secret: ssh_key
SSH_HOST:
from_secret: ssh_host
USER_EMAIL:
from_secret: user_email
USER_NAME:
from_secret: user_name
# TARGET_REPO:
# from_secret: target_repo
commands:
- git config --global user.email "$${USER_EMAIL}"
- git config --global user.name "$${USER_NAME}"
- ./building/drone-ssh-helper.sh commit
image_pull_secrets:
- dockerconfigjson