Skip to content

Commit

Permalink
make sure to run git configs after we cd to the gh-pages directory, n…
Browse files Browse the repository at this point in the history
…ot before
  • Loading branch information
Sleaker committed Aug 2, 2020
1 parent 7a4d86c commit ea40092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea40092

Please sign in to comment.