From b92b5b37fb9ece825283d3ba2da89100570b1843 Mon Sep 17 00:00:00 2001 From: Philipp Heckel Date: Sun, 13 Nov 2022 21:23:25 -0500 Subject: [PATCH] Testing docs workflow (5) --- .github/workflows/docs.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index a974fb68..2777d301 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -13,19 +13,13 @@ jobs: with: repository: binwiederhier/ntfy-docs.github.io path: build/ntfy-docs.github.io + token: ${{secrets.NTFY_DOCS_PUBLISH_TOKEN}} - name: Build docs - run: | - make docs - ls server/docs/ + run: make docs - name: Copy generated 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/ + run: rsync -av --exclude CNAME --delete server/docs/ build/ntfy-docs.github.io/docs/ - name: Publish docs run: |