Skip to content

Commit

Permalink
ci: fix command name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky3028 committed Dec 26, 2022
1 parent b9e1d36 commit 4eafdee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint-openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pub-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4eafdee

Please sign in to comment.