mirror of
https://github.com/MilkBowl/VaultAPI.git
synced 2024-11-21 18:05:15 +01:00
make sure to run git configs after we cd to the gh-pages directory, not before
This commit is contained in:
parent
7a4d86c110
commit
ea40092989
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user