-
Notifications
You must be signed in to change notification settings - Fork 0
/
.platform.app.yaml
82 lines (73 loc) · 1.25 KB
/
.platform.app.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# The name of this app. Must be unique within a project.
name: "microsite"
type: php:7.0
build:
flavor: composer
timezone: Europe/Zurich
disk: 2048
dependencies:
nodejs:
gulp: "3.9.0"
hooks:
build: |
set -e
cd
npm install
gulp
web:
document_root: "/public"
index_files: ["index.html"]
whitelist:
- \.html$
- \.pdf$
# CSS and Javascript.
- \.css$
- \.js$
- \.hbs$
# image/* types.
- \.gif$
- \.jpe?g$
- \.png$
- \.tiff?$
- \.wbmp$
- \.ico$
- \.jng$
- \.bmp$
- \.svgz?$
# audio/* types.
- \.midi?$
- \.mpe?ga$
- \.mp2$
- \.mp3$
- \.m4a$
- \.ra$
- \.weba$
# video/* types.
- \.3gpp?$
- \.mp4$
- \.mpe?g$
- \.mpe$
- \.ogv$
- \.mov$
- \.webm$
- \.flv$
- \.mng$
- \.asx$
- \.asf$
- \.wmv$
- \.avi$
# application/ogg.
- \.ogx$
# application/x-shockwave-flash.
- \.swf$
# application/java-archive.
- \.jar$
# fonts types.
- \.ttf$
- \.eot$
- \.woff$
- \.woff2$
- \.otf$
# robots.txt.
- /robots\.txt$
# Go and deploy