Skip to content

Commit

Permalink
Docs to root dir so README links work
Browse files Browse the repository at this point in the history
  • Loading branch information
Slavko Rihtaric committed Jul 12, 2024
1 parent cc2eb82 commit 48b9271
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/generate_sdk_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ jobs:
run-id: ${{ github.event.client_payload.run_id }}

- name: Remove old SDK
run: rm -rf src/*
run: |
rm -rf src/*
rm -rf docs/*
- name: Set API and SDK versions
run: |
Expand All @@ -77,6 +79,7 @@ jobs:
java --version
java -jar ${{ runner.temp }}/openapi-generator-cli.jar generate -i ${{ runner.temp }}/openapispec/openapi.yml -g csharp -o ./src -c ${{ runner.temp }}/${{ env.CONFIG_FILE }} --skip-validate-spec
cp ./src/README.md ./README.md
cp -r ./src/docs ./docs
- name: Create Pull Request
id: cpr
Expand Down

0 comments on commit 48b9271

Please sign in to comment.