Skip to content

Commit

Permalink
[IN-633] Reverting changeds in api-docs-generator.yml done for testin…
Browse files Browse the repository at this point in the history
…g purposes.
  • Loading branch information
moniar committed Nov 16, 2023
1 parent 99f4710 commit 2406756
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/api-docs-generator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -132,4 +132,3 @@ jobs:
SLACK_TITLE: Failure
SLACK_USERNAME: Github Actions
SLACK_WEBHOOK: ${{ secrets.INTEGRATIONS_SLACK_WEBHOOK }}

0 comments on commit 2406756

Please sign in to comment.