1
Fork 0

Add target to publish API docs

This commit is contained in:
Wim Taymans 2017-09-05 09:42:02 +02:00
parent ebea63ad0a
commit 7ef1a1d107
1 changed files with 10 additions and 0 deletions

View File

@ -23,3 +23,13 @@ dist:
rpm: dist
rpmbuild -ta pipewire-@VERSION@.tar.gz
publish:
git branch -D gh-pages 2>/dev/null || true && \
git branch -D draft 2>/dev/null || true && \
git checkout -b draft && \
git add -f build/doc/html && \
git commit -anm "Deploy on gh-pages" && \
git subtree split --prefix build/doc/html -b gh-pages && \
git push --force origin gh-pages:gh-pages && \
git checkout master 2>/dev/null