Commit f6774e2
committed
Enable github forks to override jekyll config
The github build action will dump a `JEKYLL_CONFIG_OVERRIDES` action
variable into a file `_config-overrides.yaml` which will override
whatever you want in `_config.yaml`.
Why:
It's convenient to be able to deploy the website on a forked repository.
Currently this doesn't work smoothly because by default with actions
because it builds with kroxylicious.io as the url. The mechanism that
configures the baseurl is also not wired up correctly.
To override the url we need to add in an override configuration, so I
figure we should use the same mechanism to override baseurl. The fork
can set a variable containing both these values.
Signed-off-by: Robert Young <robeyoun@redhat.com>1 parent 5c4cfc9 commit f6774e2
2 files changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
62 | | - | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
0 commit comments