File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments