From 7d41cb9d72b7ff198e8d53e027f633a5bf61c06c Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Thu, 1 Feb 2024 00:35:21 +0900 Subject: [PATCH] build pdf --- .github/workflows/github-pages.yml | 2 ++ Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index cc1a611..228c862 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -11,6 +11,8 @@ jobs: environment: github-pages runs-on: ubuntu-latest steps: + - name: Install CJK fonts + run: sudo apt-get install -y fonts-noto-cjk - uses: actions/checkout@v4 - run: make build - uses: actions/upload-pages-artifact@v3 diff --git a/Makefile b/Makefile index abbdaf3..fa6c988 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ .PHONY: build build: npx @marp-team/marp-cli README.md -o dist/index.html + npx @marp-team/marp-cli README.md --pdf --output dist/intro-to-hasura.pdf rsync -av assets/ dist/assets/