Commit 46b0d3f
committed
fix(ci): resolve Gitea docs deployment and link issues
This commit addresses compatibility issues with Gitea runners and fixes broken links in the deployed documentation.
Changes:
- **Artifact Compatibility:** Switches to `actions/upload-artifact@v3` and `download-artifact@v3` for Gitea environments, as v4+ and `upload-pages-artifact` are not fully supported on Gitea (GHES). GitHub Pages continues to use the standard pages artifact action.
- **Relative Links:** Sets `html_baseurl=""` during the Sphinx build to force relative URLs, ensuring links work correctly when deployed to a subdirectory.
- **Deployment Logic:** Updates the Gitea deployment step to handle uncompressed artifacts (removing tar extraction) and ensures the target directory is cleanly recreated with correct permissions (`755`).1 parent bdbf172 commit 46b0d3f
1 file changed
Lines changed: 20 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | | - | |
81 | | - | |
| 80 | + | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
| |||
132 | 140 | | |
133 | 141 | | |
134 | 142 | | |
135 | | - | |
| 143 | + | |
| 144 | + | |
136 | 145 | | |
137 | | - | |
| 146 | + | |
138 | 147 | | |
139 | 148 | | |
140 | 149 | | |
141 | 150 | | |
142 | 151 | | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
| 152 | + | |
147 | 153 | | |
148 | 154 | | |
149 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
150 | 159 | | |
151 | | - | |
| 160 | + | |
| 161 | + | |
0 commit comments