mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
Add target to publish API docs
This commit is contained in:
parent
ebea63ad0a
commit
7ef1a1d107
1 changed files with 10 additions and 0 deletions
10
Makefile.in
10
Makefile.in
|
|
@ -23,3 +23,13 @@ dist:
|
||||||
|
|
||||||
rpm: dist
|
rpm: dist
|
||||||
rpmbuild -ta pipewire-@VERSION@.tar.gz
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue