From b339039172bab54f8c8bc2cdce80aa89c40ed440 Mon Sep 17 00:00:00 2001 From: SkyFi Geek <45924209+mobileskyfi@users.noreply.github.com> Date: Tue, 21 May 2024 13:41:01 -0700 Subject: [PATCH] validation can be done when building html, not as 2nd step --- .github/workflows/manual-from-secrets.yaml | 5 +---- .github/workflows/manual-using-docker-in-docker.yaml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/manual-from-secrets.yaml b/.github/workflows/manual-from-secrets.yaml index 703c911..a0fa95c 100644 --- a/.github/workflows/manual-from-secrets.yaml +++ b/.github/workflows/manual-from-secrets.yaml @@ -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 diff --git a/.github/workflows/manual-using-docker-in-docker.yaml b/.github/workflows/manual-using-docker-in-docker.yaml index 9fce9ed..cd67e1d 100644 --- a/.github/workflows/manual-using-docker-in-docker.yaml +++ b/.github/workflows/manual-using-docker-in-docker.yaml @@ -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: |