mirror of
https://github.com/LukeHagar/api-specs.git
synced 2025-12-09 20:37:50 +00:00
Update build-dereferenced-v3-spec.yml
This commit is contained in:
11
.github/workflows/build-dereferenced-v3-spec.yml
vendored
11
.github/workflows/build-dereferenced-v3-spec.yml
vendored
@@ -11,27 +11,18 @@ on:
|
||||
|
||||
jobs:
|
||||
dereference_spec:
|
||||
name: Push API spec changes
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout the master branch request to run rsync
|
||||
- name: Checkout PR branch
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.ref }}
|
||||
|
||||
# Node is required for npm
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "16"
|
||||
|
||||
- name: Install swagger-cli
|
||||
run: |
|
||||
npm install -g swagger-cli
|
||||
|
||||
- name: Dereference API Specification
|
||||
run: |
|
||||
swagger-cli bundle --dereference idn/sailpoint-api.v3.yaml -t yaml -o dereferenced/idn-v3-spec.yaml
|
||||
|
||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||
|
||||
Reference in New Issue
Block a user