diff --git a/.github/workflows/lint-openapi.yml b/.github/workflows/lint-openapi.yml index e50434e..27dcb8b 100644 --- a/.github/workflows/lint-openapi.yml +++ b/.github/workflows/lint-openapi.yml @@ -13,7 +13,7 @@ jobs: - name: Install redocly-cli uses: ./.github/actions/install-redocly-cli - name: Lint OpenAPI yml - run: lint ./schema/openapi.yml + run: redocly lint ./schema/openapi.yml lint-examples: name: Lint examples of OpenAPI runs-on: ubuntu-latest @@ -22,7 +22,7 @@ jobs: - name: Install redocly-cli uses: ./.github/actions/install-redocly-cli - name: Bundle OpenAPI yml - run: bundle ./schema/openapi.yml -o ./schema/bundled-openapi.yml + run: redocly bundle ./schema/openapi.yml -o ./schema/bundled-openapi.yml - name: Install openapi-examples-validator run: npm install -g openapi-examples-validator - name: Lint examples diff --git a/.github/workflows/pub-docs.yml b/.github/workflows/pub-docs.yml index c72def8..6b2f3d7 100644 --- a/.github/workflows/pub-docs.yml +++ b/.github/workflows/pub-docs.yml @@ -24,7 +24,7 @@ jobs: - name: Install redocly-cli uses: ./.github/actions/install-redocly-cli - name: Build docs - run: build-docs ./schema/openapi.yml -o ./docs/index.html -t ./.github/template.hbs + run: redocly build-docs ./schema/openapi.yml -o ./docs/index.html -t ./.github/template.hbs - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: