File tree 2 files changed +4
-3
lines changed
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"
15
15
cp -R build/docs/javadoc $HOME /javadoc-latest
16
16
17
17
cd $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"
20
20
git clone --quiet --branch=gh-pages https://${GH_TOKEN} @github.com/WPIRoboticsProjects/grip gh-pages # > /dev/null
21
21
22
22
cd gh-pages
23
23
git rm -rf ./javadoc
24
24
cp -Rf $HOME /javadoc-latest ./javadoc
25
25
git 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"
27
27
git push -fq origin gh-pages # > /dev/null
28
28
29
29
echo -e " Published Javadoc to gh-pages.\n"
Original file line number Diff line number Diff line change 38
38
contents : ' ui/build/installer/GRIP-*.deb'
39
39
targetFolder : $(Build.ArtifactStagingDirectory)
40
40
- script : |
41
+ export GH_TOKEN=$(GH_TOKEN)
41
42
.azure-scripts/push-javadoc-to-gh-pages.sh
42
43
displayName: 'Publish Javadocs'
43
44
condition: |
You can’t perform that action at this time.
0 commit comments