You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-4Lines changed: 8 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Deploy your Wagtail site on Netlify. Features include:
20
20
21
21
1. Add `wagtailnetlify` to your `INSTALLED_APPS`.
22
22
2. Run the migrations: `./manage.py migrate wagtailnetlify`.
23
-
3. Add `NETLIFY_PATH` to your settings.
23
+
3. Add `NETLIFY_PATH`or `NETLIFY_BUILD_HOOK`to your settings.
24
24
25
25
Check the [Settings](#settings) section below for more customisation options.
26
26
@@ -30,7 +30,11 @@ If `NETLIFY_AUTO_DEPLOY` is set to `True`, Wagtail will automatically deploy you
30
30
31
31
*or*
32
32
33
-
To deploy changes manually, use `./manage.py netlify`. To generate redirects without deploying, use the `-n` or `--no-deploy` flag: `./manage.py netlify --no-deploy`. To trigger a build on Netlify's servers, configure `settings.NETLIFY_BUILD_HOOK` and use the `-t` or `--trigger-build` flag: `./manage.py netlify --trigger-build`.
33
+
To deploy changes manually, use `./manage.py netlify`.
34
+
35
+
To generate redirects without deploying, use the `-n` or `--no-deploy` flag: `./manage.py netlify --no-deploy`.
36
+
37
+
To trigger a build on Netlify's servers, configure `settings.NETLIFY_BUILD_HOOK` and use the `-t` or `--trigger-build` flag: `./manage.py netlify --trigger-build`.
34
38
35
39
## Settings
36
40
@@ -56,9 +60,9 @@ Connect to your Netlify account to [generate a token](https://app.netlify.com/ac
56
60
57
61
### `NETLIFY_AUTO_DEPLOY`
58
62
59
-
**Default: `True`**
63
+
**Default: `False`**
60
64
61
-
Whether to automatically deploy your site to Netlify every time you publish a page. This make take between a few seconds and a few minutes, depending on the size of your site, and the number of pages which are affected by your change.
65
+
Whether to automatically deploy your site to Netlify every time you publish a page. This make take between a few seconds and a few minutes, depending on the size of your site, and the number of pages which are affected by your change. If you have configured `settings.NETLIFY_BUILD_HOOK`, publishing a page will trigger a build on Netlify's servers.
0 commit comments