-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathrender.yaml
More file actions
70 lines (70 loc) · 2.46 KB
/
render.yaml
File metadata and controls
70 lines (70 loc) · 2.46 KB
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
services:
- type: web
name: indiedevuse.com frontend
runtime: static
#static sites are free
#plan: free
#We rename dist/index.html so that Render can rewrite access to / (which would have an existing file /index.html and it wouldn't rewrite)
buildCommand: export VITE_RENDER_GIT_COMMIT=$RENDER_GIT_COMMIT && cd frontend && pnpm i && npx puppeteer browsers install chrome && pnpm run build && mv dist/index.html dist/index-default.html
staticPublishPath: frontend/dist
routes:
- type: redirect
source: /developers/*
destination: /developer/*
- type: rewrite
source: /
destination: /index-root.html
- type: rewrite
source: /about
destination: /index-about.html
- type: rewrite
source: /developer/hboon
destination: /index-developer-hboon.html
- type: rewrite
source: /developer/devarno
destination: /index-developer-devarno.html
- type: rewrite
source: /developer/bennyqp
destination: /index-developer-bennyqp.html
- type: rewrite
source: /developer/andrei-hudovich
destination: /index-developer-andrei-hudovich.html
- type: rewrite
source: /developer/builditn0w
destination: /index-developer-builditn0w.html
- type: rewrite
source: /developer/dannyt74
destination: /index-developer-dannyt74.html
- type: rewrite
source: /developer/philkellr
destination: /index-developer-philkellr.html
- type: rewrite
source: /developer/chris
destination: /index-developer-chris.html
- type: rewrite
source: /developer/chrisshennan
destination: /index-developer-chrisshennan.html
- type: rewrite
source: /developer/gripfastgameworks
destination: /index-developer-gripfastgameworks.html
- type: rewrite
source: /developer/razvanmuntian
destination: /index-developer-razvanmuntian.html
- type: rewrite
source: /developer/yoanngueny
destination: /index-developer-yoanngueny.html
- type: rewrite
source: /developer/eeoom
destination: /index-developer-eeoom.html
- type: rewrite
source: /developer/*
destination: /index-default.html
- type: rewrite
source: /*
destination: /index-default.html
domains:
- indiedevuse.com
buildFilter:
paths:
- frontend/**/*
- render.yaml