forked from lando/lando
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.platform.app.yaml
43 lines (37 loc) · 973 Bytes
/
.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
# This file describes an application. You can have multiple applications
# in the same project.
# The name of this app. Must be unique within a project.
name: app
# The toolstack used to build the application.
type: php:7.0
build:
flavor: none
# The configuration of app when it is exposed to the web.
web:
locations:
"/":
root: "_book"
index:
- "index.html"
expires: 300s
scripts: true
allow: false
rules:
\.(css|js|gif|jpe?g|png|ttf|eot|woff2?|otf|html|ico|svg?)$:
allow: true
^/robots\.txt$:
allow: true
search_index\.json$:
allow: true
# The size of the persistent disk of the application (in MB).
disk: 2048
# Build time dependencies.
dependencies:
nodejs:
grunt-cli: "*"
# The hooks that will be performed when the package is deployed.
hooks:
build: |
npm install
grunt docs
cp docs/images/favicon.ico _book/gitbook/images/favicon.ico