removed empty bodies #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: API build and deploy | |
on: | |
push: | |
paths: | |
- reference/** | |
branches: | |
- master | |
jobs: | |
api-doc-deploy: | |
name: build doc | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Generate new documentation | |
uses: icadsistemi/openapitools-generator-action@v1.5.2 | |
with: | |
generator: html2 | |
openapi-file: reference/IS-SN-importexport.yaml | |
command-args: -o docs | |
- name: Commit new documentation | |
run: | | |
git config --global user.name 'ICAD Sistemi' | |
git config --global user.email 'action@icadsistemi.com' | |
git add docs/ | |
git commit -am "update docs" | |
git push |