Skip to content

Commit a3f6dc9

Browse files
committed
fix: wrong deploy path
1 parent 8474bb5 commit a3f6dc9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/swagger_ui_v2.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
with:
8282
# Each artifact is named after the folder, ensuring uniqueness
8383
name: ${{ matrix.output }}
84-
path: deploy/${{ matrix.output }}
84+
path: ${{ matrix.output }}
8585

8686
- name: Copy schemas folder if available
8787
run: |
@@ -119,17 +119,17 @@ jobs:
119119
with:
120120
# This downloads all artifacts (each will be placed in its own folder
121121
# under the "deploy" directory)
122-
path: deploy
122+
path: $OUTPUT_ROOT
123123

124124
# (Optional) In case you want to include JSON data as well:
125125
- name: Copy JSON data
126126
run: |
127-
mkdir -p deploy/data
128-
cp -R data/*.json $OUTPUT_ROOT/swagger-ui
127+
mkdir -p "$OUTPUT_ROOT/schemas"
128+
# cp -R data/*.json $OUTPUT_ROOT/swagger-ui
129129
cp -R $JSON_SCHEMA_PATH/*.json $OUTPUT_ROOT/schemas/
130130

131131
- name: Deploy to GitHub Pages
132132
uses: peaceiris/actions-gh-pages@v3
133133
with:
134134
github_token: ${{ secrets.GITHUB_TOKEN }}
135-
publish_dir: ./deploy
135+
publish_dir: $OUTPUT_ROOT

0 commit comments

Comments
 (0)