From ea400929897776e2023561921dd6751bb36ad796 Mon Sep 17 00:00:00 2001 From: "Nick Minkler (Sleaker)" Date: Sun, 2 Aug 2020 14:38:11 -0700 Subject: [PATCH] make sure to run git configs after we cd to the gh-pages directory, not before --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 946eb03..97b9189 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,10 +24,10 @@ jobs: # mvn -B deploy - name: Commit javadocs run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" cp -Rfv target/javadoc-latest/* gh-pages/ cd gh-pages + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" git commit -m "Update javadoc pages for latest release" -a - name: Push javadoc changes uses: ad-m/github-push-action@master