ulib/3party/rxcpp/projects/scripts/travis-doxygen.sh
2024-01-10 09:33:36 +08:00

14 lines
340 B
Bash

#!/bin/sh
set -e
if [ -n "$GH_TOKEN" ]; then
cd projects/doxygen/html
git init
git config user.name "Kirk Shoop"
git config user.email "kirk.shoop@microsoft.com"
git add *
git commit -m "doxygen generated site"
git push --force "https://${GH_TOKEN}@github.com/Reactive-Extensions/RxCpp.git" master:gh-pages
fi