From 18d36e1b30c1e6c63a7b42350c99649e41fcce14 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Sun, 13 Nov 2022 21:11:51 -0500 Subject: [PATCH] Testing docs workflow (4) --- .github/workflows/docs.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 88c7cf46..a974fb68 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -1,7 +1,7 @@ name: docs on: [push, pull_request] jobs: - build: + docs: runs-on: ubuntu-latest steps: - @@ -20,7 +20,12 @@ jobs: ls server/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 run: |