From fcaeda9864fa4535ebda3dae986b932ca741a631 Mon Sep 17 00:00:00 2001 From: Pascal Fischer Date: Mon, 12 Jun 2023 17:02:09 +0200 Subject: [PATCH] remove ifs from api generation workflow --- .github/workflows/generate_api_pages.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/generate_api_pages.yml b/.github/workflows/generate_api_pages.yml index 919234ea..efd6291c 100644 --- a/.github/workflows/generate_api_pages.yml +++ b/.github/workflows/generate_api_pages.yml @@ -22,17 +22,14 @@ jobs: - uses: actions/checkout@v2 - name: Install swagger-codegen - if: ${{ inputs.generateAPI }} run: brew install swagger-codegen - name: Generate api pages for netbird main openapi definition - if: ${{ inputs.generateAPI }} run: | swagger-codegen generate -i https://raw.githubusercontent.com/netbirdio/netbird/v${{ steps.semver_parser.outputs.fullversion }}/management/server/http/api/openapi.yml -l openapi -o generator/openapi npx ts-node generator/index.ts gen --input generator/openapi/openapi.json --output src/pages/ipa/resources - name: Commit and push changes - if: ${{ inputs.generateAPI }} run: | git config --global user.email "no-reply@github.com" git config --global user.name "GitHub Actions"