forked from codemagic-ci-cd/codemagic-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
191 lines (170 loc) · 4.79 KB
/
config.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
---
copyright: '©Nevercode Ltd | All Rights Reserved | Codemagic is pending trademark
of Nevercode Ltd.'
params:
twitterShareHandle: codemagicio
facebookAuthorHandle: codemagicio
appLoginLink: https://codemagic.io/
appUserUrl: http://localhost:5000/user
backendURL: http://localhost:5000
landingURL: http://localhost:3000
appURL: http://localhost:3000
blogURL: http://localhost
defaultFacebookImage: /uploads/2019/01/default-thumb.png
defaultTwitterImage: /uploads/2019/02/twitter.png
headerLinkTitle: Documentation
locale: en_GB
googleAnalyticsTrackingId: UA-125963734-2
googleOptimizeId: 'GTM-M67KWVX'
pageRepoCommitPrefix: 'https://github.com/codemagic-ci-cd/codemagic-docs/commit/'
pageRepoEditPrefix: 'https://github.com/codemagic-ci-cd/codemagic-docs/edit/master/content/'
imaging:
resampleFilter: linear
quality: 90
outputs:
home:
- HTML
- RSS
- JSON
buildDrafts: true
defaultContentLanguage: en
disable404: true
enableGitInfo: true
sectionPagesMenu: 'main'
menu:
main:
- identifier: getting-started
name: Getting started
weight: 1
- identifier: yaml
name: Codemagic.yaml
weight: 2
params:
preference: 'yaml'
- identifier: yaml-quick-start
name: Quick start guides
parent: yaml
weight: 1
- identifier: yaml-testing
name: Testing
parent: yaml
weight: 2
- identifier: yaml-code-signing
name: Code signing
parent: yaml
weight: 3
- identifier: yaml-publishing
name: Publishing
parent: yaml
weight: 4
- identifier: integrations
name: Integrations
parent: yaml
weight: 5
- identifier: flutter
name: Flutter workflow editor
weight: 3
params:
preference: 'flutter'
- identifier: flutter-configuration
name: Build configuration
parent: flutter
weight: 1
- identifier: flutter-testing
name: Testing
parent: flutter
weight: 2
- identifier: flutter-code-signing
name: Code signing
parent: flutter
weight: 3
- identifier: flutter-publishing
name: Publishing
parent: flutter
weight: 4
- identifier: variables
name: Environment variables
weight: 4
- identifier: encrypting
name: Encrypting sensitive data
parent: variables
params:
hide: true
- identifier: environment-variable-groups
name: Environment variable groups
parent: variables
params:
hide: true
- identifier: configuration
name: Advanced configuration
weight: 5
- identifier: knowledge-base
name: Knowledge base
weight: 6
- identifier: teams
name: Teams
weight: 7
- identifier: rest-api
name: Codemagic API
weight: 8
- identifier: billing
name: Billing & Pricing
weight: 9
- identifier: troubleshooting
name: Troubleshooting
weight: 10
- identifier: specs
name: Build machine specs
- identifier: cli
params:
hide: true
- identifier: notes
params:
hide: true
extra:
- identifier: cli
weight: 1
- identifier: notes
weight: 2
mediaTypes:
video/mp4:
suffixes:
- mp4
title: Codemagic Docs
disableKinds:
- taxonomy
- taxonomyTerm
- section
deployment:
order:
- '.*\.jpe?g$'
- '.*\.gif$'
- '.*\.png$'
- '.*\.mp4$'
- '.*\.mov$'
targets:
- name: 'docs.codemagic.io'
URL: s3://docs.codemagic.io?region=us-east-1
cloudFrontDistributionID: EM3VDRI1IYP45
matchers:
# static assets are fingerprinted, cache them for 1 year
- pattern: '^.+\\.(js|css|svg|ttf|woff|woff2)$'
cacheControl: 'max-age=31536000, no-transform, public'
gzip: true
# content images are not fingerprinted yet, cache them for 1 week
- pattern: '^.+\\.(ico|pdf|jpg|JPG|jpeg|png|PNG|gif|GIF|mp4|mov|mkv)$'
cacheControl: 'max-age=604800, no-transform, public'
gzip: false
# main content
- pattern: '^.+\\.(html|xml|json)$'
gzip: true
# rss
- pattern: '^.+\\.xml$'
contentType: 'application/rss+xml; charset=utf-8'
gzip: true
markup:
goldmark:
renderer:
unsafe: true
highlight:
style: github