Fixed typo

This commit is contained in:
Jaspreet Sachdev
2023-02-22 22:20:41 -05:00
parent a0e5b88ce7
commit ac49d07542

View File

@@ -3,7 +3,7 @@ name: Update OpenAPI docs on GitHub Pages
on: on:
push: push:
paths: paths:
- '**' - './**'
branches: branches:
- master - master
workflow_dispatch: workflow_dispatch:
@@ -20,7 +20,7 @@ jobs:
- name: Generate static HTML page with docs from OpenAPI definition - name: Generate static HTML page with docs from OpenAPI definition
run: | run: |
docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:v6.2.1 generate -i https://raw.githubusercontent.com/Telecominfraproject/wlan-certificate-portal-api/certportal.yaml -g html2 --skip-validate-spec -o /local/ docker run --rm -v "${PWD}:/local" openapitools/openapi-generator-cli:v6.2.1 generate -i https://raw.githubusercontent.com/Telecominfraproject/wlan-certificate-portal-api/master/certportal.yaml -g html2 --skip-validate-spec -o /local/
- name: Update OpenAPI docs - name: Update OpenAPI docs
run: | run: |
mkdir tmp-docs mkdir tmp-docs