-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.drone.yml
More file actions
57 lines (48 loc) · 939 Bytes
/
.drone.yml
File metadata and controls
57 lines (48 loc) · 939 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
concurrency:
limit: 1
steps:
- name: purge-content
image: docker.io/owncloudci/alpine
commands:
- make clean
- name: assets
image: docker.io/owncloudci/alpine
commands:
- make theme
- name: sync
image: quay.io/thegeeklab/git-batch
commands:
- git-batch -vv
- name: build
# matching images and/or versions in:
# - the Makefile of this repo
# - repo web: in .drone.star and
# - repo ocis: cat .bingo/Variables.mk | grep HUGO
image: hugomods/hugo:base-0.129.0
commands:
- hugo
- name: publish
image: docker.io/plugins/gh-pages
settings:
pages_directory: public/
copy_contents: true
password:
from_secret: github_token
target_branch: gh-pages
username:
from_secret: github_username
delete: true
when:
ref:
- refs/heads/main
trigger:
ref:
- refs/heads/main
- refs/pull/**
...