Skip to content

Commit

Permalink
validation can be done when building html, not as 2nd step
Browse files Browse the repository at this point in the history
  • Loading branch information
mobileskyfi authored May 21, 2024
1 parent c2e0ecc commit b339039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/manual-from-secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ jobs:
run: |
bun install js-yaml raml2html raml2html-slate-theme
bun rest2raml.js ${{ github.event.inputs.start_path }}
./node_modules/.bin/raml2html --theme raml2html-slate-theme ros-rest*.raml > ros-rest-generated.html
- name: Validate RAML using raml2html -v
run: ./node_modules/.bin/raml2html -v ros-rest*.raml
./node_modules/.bin/raml2html -v --theme raml2html-slate-theme ros-rest*.raml > ros-rest-generated.html
- name: Move Built File to /docs
id: publish-to-docs
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/manual-using-docker-in-docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,8 @@ jobs:
run: |
bun install js-yaml raml2html raml2html-slate-theme
bun rest2raml.js ${{ github.event.inputs.start_path }}
./node_modules/.bin/raml2html --theme raml2html-slate-theme ros-rest*.raml > ros-rest-generated.html
./node_modules/.bin/raml2html -v --theme raml2html-slate-theme ros-rest*.raml > ros-rest-generated.html
- name: Validate RAML using raml2html -v
run: ./node_modules/.bin/raml2html -v ros-rest*.raml

- name: Move Built File to /docs
id: publish-to-docs
run: |
Expand Down

0 comments on commit b339039

Please sign in to comment.