Commit 2fc92d3
Deploy docs via Pages artifact instead of gh-pages branch (#832)
The current docs workflow commits the entire built MkDocs site to the
gh-pages branch on every push to master. Over time this has accumulated
~100 MB of generated artifacts (js/docs.js, klipse_plugin.js, etc.) in
the gh-pages branch, which every git clone has to download.
Switch to the artifact-based actions/deploy-pages flow so the site is
served from an ephemeral workflow artifact and nothing is committed to
git. Once the new deployment is verified the gh-pages branch can be
deleted, reducing clone size from ~100 MB to ~5 MB.
Refs #831
Co-authored-by: Mike Thompson <mike.thompson+github@day8.como.au>1 parent e150bb5 commit 2fc92d3
1 file changed
+27
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
11 | 18 | | |
12 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
13 | 26 | | |
14 | 27 | | |
15 | 28 | | |
| |||
103 | 116 | | |
104 | 117 | | |
105 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
106 | 125 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 126 | | |
114 | 127 | | |
115 | 128 | | |
116 | 129 | | |
117 | 130 | | |
118 | 131 | | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 132 | + | |
123 | 133 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
131 | 138 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
0 commit comments