Skip to content

Commit

Permalink
chore: fix doc publish creds
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss committed Oct 22, 2024
1 parent 1d7ee9f commit 5c8b929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/kokoro/publish_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ go install -buildvcs=false
cd -

# Use the google-cloud-go service account to store godocfx state.
export GOOGLE_APPLICATION_CREDENTIALS=$KOKORO_KEYSTORE_DIR/72523_go_integration_service_account
export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_GFILE_DIR}/secret_manager/go-cloud-integration-service-account"
# Keep GCLOUD_TESTS_GOLANG_PROJECT_ID in sync with continuous.sh.
export GCLOUD_TESTS_GOLANG_PROJECT_ID=dulcet-port-762

Expand All @@ -43,7 +43,7 @@ gcloud auth activate-service-account --key-file "$KOKORO_KEYSTORE_DIR/73713_docu

for f in $(find obj/api -name docs.metadata); do
# Extract the module name and version from the docs.metadata file.
module=$(cat $f | grep name | sed 's/.*"\(.*\)"/\1/')
module=$(cat $f | grep name | sed 's/.*"\(.*\)"/\1/')
version=$(cat $f | grep version | sed 's/.*"\(.*\)"/\1/')
name="docfx-go-$module-$version.tar.gz"
tar_dir=$(dirname $name)
Expand Down

0 comments on commit 5c8b929

Please sign in to comment.