Skip to content

Commit 7b01a25

Browse files
committed
Fix publishing job
1 parent ca80fc4 commit 7b01a25

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,11 @@ jobs:
6969
- name: Validate JSON Schema
7070
run: nix develop --command jv ./schema.json
7171

72-
PublishJsonSchemaDocs:
72+
BuildAndPublishJsonSchemaDocs:
7373
runs-on: ubuntu-latest
74+
environment:
75+
name: github-pages
76+
url: ${{ steps.publish.outputs.page_url }}
7477
permissions:
7578
contents: read
7679
pages: write
@@ -83,6 +86,8 @@ jobs:
8386
with:
8487
determinate: true
8588
- uses: DeterminateSystems/flakehub-cache-action@main
89+
- name: Set up GitHub Pages
90+
uses: actions/configure-pages@v5
8691
- name: Generate JSON Schema docs
8792
id: generate
8893
run: |
@@ -93,6 +98,7 @@ jobs:
9398
with:
9499
path: ./dist
95100
- name: Publish docs to GitHub Pages
101+
id: publish
96102
uses: actions/deploy-pages@v4
97103

98104
SynthesizeIntegration:

0 commit comments

Comments
 (0)