File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1313 push :
1414 branches :
1515 - main
16+ - publish-schemas # TODO: remove
1617 workflow_dispatch : {}
1718
1819jobs :
Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ for filename in schemas/v3*/schema.yaml ; do
1010
1111 echo " $filename $lastCommitDate "
1212 mkdir -p deploy/oas/$version /schema
13- node scripts/schema-convert.js " $filename " $lastCommitDate > deploy/oas/$version /schema/$lastCommitDate .json
13+ node scripts/schema-convert.js " $filename " $lastCommitDate > deploy/oas/$version /schema/$lastCommitDate
14+ mv deploy/oas/$version /schema/* .md deploy/oas/$version /schema/$lastCommitDate .md
1415
1516 filenameBase=$( dirname " $filename " ) /schema-base.yaml
1617 if [ -f " $filenameBase " ]; then
1718 echo " $filenameBase $lastCommitDate "
1819 mkdir -p deploy/oas/$version /schema-base
19- node scripts/schema-convert.js " $filenameBase " $lastCommitDate > deploy/oas/$version /schema-base/$lastCommitDate .json
20+ node scripts/schema-convert.js " $filenameBase " $lastCommitDate > deploy/oas/$version /schema-base/$lastCommitDate
21+ mv deploy/oas/$version /schema-base/* .md deploy/oas/$version /schema-base/$lastCommitDate .md
2022 fi
2123done
You can’t perform that action at this time.
0 commit comments