From 2406756ea7fa7082e96f0e59eed419969617cd40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Monika=20Lipi=C5=84ska?= Date: Thu, 16 Nov 2023 09:22:55 +0100 Subject: [PATCH] [IN-633] Reverting changeds in api-docs-generator.yml done for testing purposes. --- .github/workflows/api-docs-generator.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/api-docs-generator.yml b/.github/workflows/api-docs-generator.yml index b82edcc..e481a18 100644 --- a/.github/workflows/api-docs-generator.yml +++ b/.github/workflows/api-docs-generator.yml @@ -4,7 +4,7 @@ env: FETCH_CMD: 'wget https://znanylekarz.pl/openapi/integrations-api.yaml -d --header="X-OAS-INTEGRATIONS-TOKEN: ${{ secrets.OPENAPI_INTEGRATIONS_SPECIFICATION_TOKEN }}"' FILE_NAME: integrations-api.yaml CODEGEN_TEMPLATES_FOLDER: .github/workflows/swagger-codegen-templates - BRANCH: IN-633/guzzle-compatibility-issue + BRANCH: develop on: schedule: @@ -34,14 +34,14 @@ jobs: if: steps.cache.outputs.cache-hit == 'true' run: echo "::set-output name=diff::true" - name: Generate specification artifacts - if: steps.checksum.outputs.diff == 'true' + if: steps.checksum.outputs.diff != 'true' uses: actions/upload-artifact@v2 with: name: specification path: ${{ env.FILE_NAME }} generate: needs: diff - if: needs.diff.outputs.diff == 'true' + if: needs.diff.outputs.diff != 'true' name: Generate SDK runs-on: ubuntu-latest steps: @@ -132,4 +132,3 @@ jobs: SLACK_TITLE: Failure SLACK_USERNAME: Github Actions SLACK_WEBHOOK: ${{ secrets.INTEGRATIONS_SLACK_WEBHOOK }} -