File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ echo -e "Publishing javadoc...\n"
1515cp -R build/docs/javadoc $HOME /javadoc-latest
1616
1717cd $HOME
18- git config user.email " azuredevops@microsoft.com"
19- git config user.name " azure-pipelines"
18+ git config --global user.email " azuredevops@microsoft.com"
19+ git config --global user.name " azure-pipelines"
2020git clone --quiet --branch=gh-pages https://${GH_TOKEN} @github.com/WPIRoboticsProjects/grip gh-pages # > /dev/null
2121
2222cd gh-pages
2323git rm -rf ./javadoc
2424cp -Rf $HOME /javadoc-latest ./javadoc
2525git add -f .
26- git commit -m " Lastest javadoc on successful Azure build ${BUILD_BUILD_NUMBER } auto-pushed to gh-pages"
26+ git commit -m " Lastest javadoc on successful Azure build ${BUILD_BUILDNUMBER } auto-pushed to gh-pages"
2727git push -fq origin gh-pages # > /dev/null
2828
2929echo -e " Published Javadoc to gh-pages.\n"
Original file line number Diff line number Diff line change 3838 contents : ' ui/build/installer/GRIP-*.deb'
3939 targetFolder : $(Build.ArtifactStagingDirectory)
4040 - script : |
41+ export GH_TOKEN=$(GH_TOKEN)
4142 .azure-scripts/push-javadoc-to-gh-pages.sh
4243 displayName: 'Publish Javadocs'
4344 condition: |
You can’t perform that action at this time.
0 commit comments