Commit 6a95f8a
authored
Deploy docs with official Pages actions (#97)
## Summary
Move docs publishing to GitHub's official Pages actions.
The build stays read-only, while the deploy job gets only the
permissions it needs.
```mermaid
flowchart LR
A["Switch Pages source to GitHub Actions"] --> B["Merge this PR"]
B --> C["Build docs"]
C --> D["Upload Pages artifact"]
D --> E["Deploy site"]
```
## Verification
Tried this end-to-end with two tiny demos, one per approach. Both deploy
fine, and the after one skips Jekyll so no `.nojekyll` is needed:
- before:
https://github.com/natalie-o-perret/demo-python-gh-pages-jamesives
- after:
https://github.com/natalie-o-perret/demo-python-gh-pages-official
---
> [!NOTE]
> AI assistance: PR description.1 parent 3edf0ce commit 6a95f8a
1 file changed
Lines changed: 24 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | | - | |
| 15 | + | |
11 | 16 | | |
12 | 17 | | |
13 | 18 | | |
| |||
19 | 24 | | |
20 | 25 | | |
21 | 26 | | |
22 | | - | |
23 | | - | |
| 27 | + | |
| 28 | + | |
24 | 29 | | |
25 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments