Skip to content

Commit fd9a0c5

Browse files
authored
ci: preserve void oidc deploy env
1 parent 994139b commit fd9a0c5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/void-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ jobs:
5757
vp exec --filter @ox-content/vite-plugin -- puppeteer browsers install chrome-headless-shell
5858
5959
- name: Deploy docs to Void
60-
run: vp run deploy#docs
60+
run: node scripts/deploy-docs-to-void.mjs

docs/content/deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ that override still uses the GitHub Pages base configured in `docs/vite.config.t
4848
## GitHub Actions OIDC
4949

5050
The tokenless deploy workflow lives at `.github/workflows/void-deploy.yml`.
51-
It grants `id-token: write` and runs `vp run deploy#docs`, which lets
52-
`void deploy` exchange GitHub OIDC for a short-lived Void deploy token at run
53-
time.
51+
It grants `id-token: write` and runs `scripts/deploy-docs-to-void.mjs`
52+
directly from the GitHub Actions shell step, which lets `void deploy` exchange
53+
GitHub OIDC for a short-lived Void deploy token at run time.
5454

5555
The repository must be connected to the Void project once:
5656

0 commit comments

Comments
 (0)