-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Copy pathpush.yaml
49 lines (49 loc) · 974 Bytes
/
push.yaml
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
target: push
paths:
remote: /data/sites/docs
local: public
static:
- 'manual'
- 'v4.0'
- '.htaccess'
- 'sitemap.xml'
- 'robots.txt'
- 'master/sitemap.xml.gz'
- '10gen-security-gpg-key.asc'
options: [ 'branched', 'recursive' ]
env: publication
dependency: push-if-up-to-date
---
target: push-with-delete
paths:
remote: /data/sites/docs
local: public
static:
- 'manual'
- '.htaccess'
- 'sitemap.xml'
- 'robots.txt'
- 'master/sitemap.xml.gz'
- '10gen-security-gpg-key.asc'
options: [ 'delete', 'branched', 'recursive' ]
env: publication
dependency: publish
---
target: stage
paths:
remote: /srv/public/test
local: public
static: ['manual']
options: [ 'branched', 'recursive' ]
env: staging
dependency: stage-if-up-to-date
---
target: stage-with-delete
paths:
remote: /srv/public/test
local: public
static: ['manual']
options: [ 'delete', 'branched', 'recursive' ]
env: staging
dependency: publish
...