build pdf

This commit is contained in:
Nebel 2024-02-01 00:35:21 +09:00
parent 5841622801
commit 7d41cb9d72
Signed by: nebel
GPG key ID: 79807D08C6EF6460
2 changed files with 3 additions and 0 deletions

View file

@ -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

View file

@ -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/