-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
65 lines (50 loc) · 1.6 KB
/
netlify.toml
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
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
# Directory to change to before starting a build.
# This is where we will look for package.json/.nvmrc/etc.
# If not set, defaults to the root directory.
# base = "/" # Not set as it is default
# Directory that contains the deploy-ready HTML files and assets generated by
# the build. This is relative to the base directory if one has been set, or the
# root directory if a base has not been set. This sample publishes the
# directory located at the absolute path "root/project/build-output"
publish = "dist/"
# Default build command.
command = "python colander.py --prod"
# Configure with Environment Variables
environment = { PYTHON_VERSION = "3.8" }
# Redirects to prevent link rot with new build system
[[redirects]]
from = "/essays/posts.html"
to = "/articles"
[[redirects]]
from = "/notes/posts.html"
to = "/articles"
[[redirects]]
from = "/notes/appearances.html"
to = "/press"
[[redirects]]
from = "/essays/wordpress-scrape.html"
to = "/code/wordpress_scrape.html"
[[redirects]]
from = "/essays/helpscout_links.html"
to = "/code/helpscout_links.html"
[[redirects]]
from = "/cefip/2e"
to = "/cefip"
[[redirects]]
from = "/cefip"
to = "https://lifechangingemail.com"
[[redirects]]
from = "/wfsd"
to = "https://wfsd.com"
[[redirects]]
from = "/company"
to = "https://pkandc.com/"
[[redirects]]
from = "/calendar"
to = "https://calendly.com/philipkiely/meeting"
[[redirects]]
from = "/essays/"
to = "/words/"