From 7df788b42a389aa603527663ff3dff568d2b77c6 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Thu, 29 Oct 2020 00:20:20 +0100 Subject: [PATCH] Add publication of documentation on gh-pages --- .github/workflows/test-build.yml | 7 +++++++ docs/.gitignore | 0 src/create_doc.sh | 1 + 3 files changed, 8 insertions(+) create mode 100644 docs/.gitignore diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 3f9a036..3346ada 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -17,6 +17,13 @@ jobs: run: sudo apt-get install emacs - name: make run: make -C src/ + - name: deploy docs + uses: ./ + run: make -C src/ doc + with: + username: scemama + password: 7da28e533792db220a4811fc4e487b8ba817862f + remote_url: https://github.com/appleboy/gh-pages-action.git test: diff --git a/docs/.gitignore b/docs/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/src/create_doc.sh b/src/create_doc.sh index 8b7b146..e85ff5b 100755 --- a/src/create_doc.sh +++ b/src/create_doc.sh @@ -14,6 +14,7 @@ for INPUT in $@ ; do --eval "(find-file \"$INPUT\")" \ --eval "(org-html-export-to-html)" done +mv *.html ../docs emacsclient \ --no-wait \