Commit e8edca4
committed
ci(docs): make site root reachable before the first release
The main-branch deploy publishes only a 'dev' alias, but the root redirect is
written by mike set-default, which previously ran only on the release path.
With no release yet, the site had no root index.html, so the root URL 404'd
until the first release.
On a dev deploy, set the default to 'dev' when no 'latest' alias exists yet,
so the root always redirects somewhere valid. Once a release has set the
default to 'latest', later dev deploys leave it untouched.1 parent 6ce147d commit e8edca4
1 file changed
Lines changed: 21 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
72 | 89 | | |
73 | 90 | | |
74 | 91 | | |
| |||
111 | 128 | | |
112 | 129 | | |
113 | 130 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
| 131 | + | |
| 132 | + | |
118 | 133 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 134 | + | |
| 135 | + | |
125 | 136 | | |
126 | 137 | | |
127 | 138 | | |
| |||
0 commit comments