mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 11:24:04 +01:00
Testing docs workflow (4)
This commit is contained in:
parent
f4cb447f0a
commit
18d36e1b30
1 changed files with 7 additions and 2 deletions
9
.github/workflows/docs.yaml
vendored
9
.github/workflows/docs.yaml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: docs
|
name: docs
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
@ -20,7 +20,12 @@ jobs:
|
||||||
ls server/docs/
|
ls server/docs/
|
||||||
-
|
-
|
||||||
name: Copy generated docs
|
name: Copy generated docs
|
||||||
run: rsync -av --delete server/docs/ build/ntfy-docs.github.io/docs/
|
run: |
|
||||||
|
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 a new issue