Skip to content

Commit 7f65ffa

Browse files
Added download scheme
1 parent aee9284 commit 7f65ffa

File tree

5 files changed

+16
-2
lines changed

5 files changed

+16
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
- name: Configure git
4848
run: git config --global --add safe.directory /github/workspace
4949

50+
- name: Download schema
51+
run: |
52+
cd docs/resources
53+
curl -O https://raw.githubusercontent.com/package-wizard/installer/refs/heads/main/resources/schemas/schema-v2.json
54+
5055
- name: Build documentation
5156
uses: JetBrains/writerside-github-action@v4
5257
with:

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
- name: Configure git
3434
run: git config --global --add safe.directory /github/workspace
3535

36+
- name: Download schema
37+
run: |
38+
cd docs/resources
39+
curl -O https://raw.githubusercontent.com/package-wizard/installer/refs/heads/main/resources/schemas/schema-v2.json
40+
3641
- name: Build documentation
3742
uses: JetBrains/writerside-github-action@v4
3843
with:

docs/resources/schema-v2.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$id": "https://package-wizard.com/resources/schema-v2.json",
3+
"$schema": "http://json-schema.org/draft-06/schema#"
4+
}

docs/snippets/example.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://package-wizard.com/schemas/schema-v2.json",
2+
"$schema": "https://package-wizard.com/resources/schema-v2.json",
33
"wizard": {
44
"install": true,
55
"clean": true

docs/topics/schema.topic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88

99
<code-block
1010
lang="json"
11-
src="https://raw.githubusercontent.com/package-wizard/installer/refs/heads/main/resources/schemas/schema-v2.json"
11+
src="../resources/schema-v2.json"
1212
/>
1313
</topic>

0 commit comments

Comments
 (0)