From ae89c145d9474da817b398f697c84d699e9b8b17 Mon Sep 17 00:00:00 2001 From: cpovirk Date: Tue, 1 Oct 2024 09:35:52 -0700 Subject: [PATCH] Update path to `apidocs` for the change in... some plugin or other? (In the case of the similar problem for _Truth_, the problem was `maven-javadoc-plugin-3.10.0`. But the _Auto_ problem doesn't appear to have started with such an upgrade, so _shrug_.) This should fix Javadoc snapshots. Fixes ttps://github.com/google/auto/issues/1832 RELNOTES=n/a PiperOrigin-RevId: 681054579 --- util/generate-latest-docs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/generate-latest-docs.sh b/util/generate-latest-docs.sh index 88c8e7fb97..9ab501fc93 100755 --- a/util/generate-latest-docs.sh +++ b/util/generate-latest-docs.sh @@ -17,7 +17,7 @@ git config --global user.name "$GITHUB_ACTOR" git config --global user.email "$GITHUB_ACTOR@users.noreply.github.com" git rm -rf api/latest mkdir -p api # Just to make mv work if the directory is missing -mv ${TARGET}/site/apidocs api/latest +mv ${TARGET}/reports/apidocs api/latest git add -A -f api/latest git commit -m "Latest javadoc on successful CI build auto-pushed to gh-pages" git push -fq origin gh-pages > /dev/null