Skip to content

Commit

Permalink
azure-pipelines: Add missing attribute needed to push to gh-pages.
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandra Trifan <Alexandra.Trifan@analog.com>
  • Loading branch information
AlexandraTrifan committed Feb 11, 2022
1 parent b96c5af commit 0ee9779
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CI/travis/build_deploy_doc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ then
cp -R ${TOP_DIR}/build/doc/doxygen_doc/html/* ${TOP_DIR}

sudo rm -rf ${TOP_DIR}/build/doc
ls -l
sudo rm -rf ${TOP_DIR}/build

GH_CURRENT_COMMIT=$(git log -1 --pretty=%B)
if [[ ${GH_CURRENT_COMMIT:(-7)} != ${CURRENT_COMMIT:0:7} ]]
Expand All @@ -78,3 +76,7 @@ then
else
echo_green "Documentation will be updated when this commit gets on master!"
fi

git fetch origin
git checkout ${BRANCH_NAME}
cd ${TOP_DIR}
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ stages:
- checkout: self
fetchDepth: 10
clean: true
persistCredentials: true
- script: ./CI/travis/before_install_linux.sh
displayName: "Install dependencies"
- script: ./CI/travis/make_linux.sh
Expand Down

0 comments on commit 0ee9779

Please sign in to comment.