Skip to content

Commit

Permalink
Feature/Remove swagger to markdown on CI #1013 (#1014)
Browse files Browse the repository at this point in the history
* Remove ci jobs for converting swagger contract to markdown #1013

* Set swagger.json download path to docs before PR job #1013
  • Loading branch information
hocinehacherouf authored Aug 2, 2022
1 parent ae68025 commit 4b91340
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,10 @@ jobs:
with:
ref: 'docs/main'

- uses: actions/setup-node@v3
with:
node-version: '14'

- name: Install widdershins
run: npm install -g widdershins

- uses: actions/download-artifact@v3
with:
name: swagger-doc

- name: Generate Open API Markdown
run: widdershins --environment widdershins.json swagger.json -o open-api.md
path: docs

- name: Push Open API Markdown to GitHub
uses: peter-evans/create-pull-request@v4
Expand Down

0 comments on commit 4b91340

Please sign in to comment.