Commit 563e92b
authored
ci: restructure build pipeline for dual deployment (#32)
* ci: restructure build pipeline for dual deployment
Replace withastro/action with explicit steps so the workflow produces
both a GitHub Pages artifact and a generic dist/ artifact. Adds
pull_request trigger for future preview support. GitHub Pages deploy
is conditioned on push to main so PRs don't trigger deployment.
Closes chinmina-docs-7yn.1
* ci: fix corepack enable and update action versions
Replace non-existent enable-corepack input on setup-node with an
explicit corepack enable run step. Update actions to latest versions:
setup-node v6, upload-pages-artifact v4, upload-artifact v7,
deploy-pages v5.
* ci: update checkout to v6
* ci: replace .mise.toml with .tool-versions for node version
Switch from mise.toml to the asdf-compatible .tool-versions file so
both mise and actions/setup-node (via node-version-file) read the
node version from a single authoritative source.1 parent 6a85cdd commit 563e92b
3 files changed
Lines changed: 24 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | 4 | | |
7 | 5 | | |
8 | | - | |
| 6 | + | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
32 | 43 | | |
33 | 44 | | |
34 | 45 | | |
| 46 | + | |
35 | 47 | | |
36 | 48 | | |
37 | 49 | | |
38 | 50 | | |
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
42 | | - | |
| 54 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments