-
Notifications
You must be signed in to change notification settings - Fork 1
/
.drone.yml
46 lines (40 loc) · 827 Bytes
/
.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
kind: pipeline
name: default
workspace:
base: /src
path: gitfolio
steps:
- name: build
image: node:12
commands:
- yarn global add rohit-gohri/gitfolio
- gitfolio update
- name: download
image: abihf/wget
commands:
- wget -O ./resume/RohitGohri.pdf https://go.boring.download/resume
when:
target:
- resume
- build
- name: git_push
image: plugins/gh-pages
settings:
username: rohit-drone
user_name: drone
user_email: drone@boring.download
password:
from_secret: github_token
pages_directory: ./
target_branch: main
temporary_base: .tmp
when:
target:
- resume
- build
trigger:
target:
exclude:
- github-pages
# Cron does not work on cloud.drone.io (https://discourse.drone.io/t/cron-on-cloud-drone-io/3899)
...