aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/gh-pages.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/gh-pages.yml')
-rw-r--r--.github/workflows/gh-pages.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 52a9b32..4675a9f 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -26,9 +26,13 @@ jobs:
- name: Generate Admitted icon
run: python3 scripts/statistics.py src && mkdir -p docs/assets && mv admitted.svg docs/assets/.
+ - name: Generate html
+ run:
+ - sudo apt-get install emacs
+ - emacs --batch --no-init --load publish.el --funcall org-publish-all
+
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- publish_dir: ./docs
- enable_jekyll: true
+ publish_dir: ./docs/html