Skip to content

Commit d0bdade

Browse files
authored
chore: copy README to docfx-yml dir (#969)
* chore: copy README to docfx-yml dir - also cleaning up uneccessary dash in destination_prefix * chore: update path
1 parent 2e7bd5c commit d0bdade

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

synthtool/gcp/templates/java_library/.kokoro/release/publish_javadoc11.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ export VERSION=$(grep ${NAME}: versions.txt | cut -d: -f3)
4040
# generate yml
4141
mvn clean site -B -q -P docFX
4242

43+
# copy README to docfx-yml dir and rename index.md
44+
cp README.md target/docfx-yml/index.md
45+
4346
pushd target/docfx-yml
4447

4548
# create metadata
@@ -52,4 +55,4 @@ python3 -m docuploader create-metadata \
5255
python3 -m docuploader upload . \
5356
--credentials ${CREDENTIALS} \
5457
--staging-bucket ${STAGING_BUCKET_V2} \
55-
--destination-prefix docfx-
58+
--destination-prefix docfx

0 commit comments

Comments
 (0)