Testing docs workflow (5)
parent
18d36e1b30
commit
b92b5b37fb
|
@ -13,19 +13,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
repository: binwiederhier/ntfy-docs.github.io
|
repository: binwiederhier/ntfy-docs.github.io
|
||||||
path: build/ntfy-docs.github.io
|
path: build/ntfy-docs.github.io
|
||||||
|
token: ${{secrets.NTFY_DOCS_PUBLISH_TOKEN}}
|
||||||
-
|
-
|
||||||
name: Build docs
|
name: Build docs
|
||||||
run: |
|
run: make docs
|
||||||
make docs
|
|
||||||
ls server/docs/
|
|
||||||
-
|
-
|
||||||
name: Copy generated docs
|
name: Copy generated docs
|
||||||
run: |
|
run: rsync -av --exclude CNAME --delete server/docs/ build/ntfy-docs.github.io/docs/
|
||||||
echo "New docs:"
|
|
||||||
ls -1 server/docs/
|
|
||||||
echo "Existing docs:"
|
|
||||||
ls -1 build/ntfy-docs.github.io/docs/
|
|
||||||
rsync -av --delete server/docs/ build/ntfy-docs.github.io/docs/
|
|
||||||
-
|
-
|
||||||
name: Publish docs
|
name: Publish docs
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue