Skip to content

Commit 8e2e25a

Browse files
committed
Docs to root dir so README links work
1 parent 17286b8 commit 8e2e25a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/generate_sdk_code.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ jobs:
6060
run-id: ${{ github.event.client_payload.run_id }}
6161

6262
- name: Remove old SDK
63-
run: rm -rf src/*
63+
run: |
64+
rm -rf src/*
65+
rm -rf docs/*
6466
6567
- name: Set API and SDK versions
6668
run: |
@@ -77,6 +79,7 @@ jobs:
7779
java --version
7880
java -jar ${{ runner.temp }}/openapi-generator-cli.jar generate -i ${{ runner.temp }}/openapispec/openapi.yml -g python -o ./src -c ${{ runner.temp }}/${{ env.CONFIG_FILE }} --skip-validate-spec
7981
cp ./src/README.md ./README.md
82+
cp -r ./src/docs ./docs
8083
8184
- name: Create Pull Request
8285
id: cpr

0 commit comments

Comments
 (0)