mirror of
https://github.com/kou029w/intro-to-hasura.git
synced 2025-01-18 16:08:04 +00:00
build pdf
This commit is contained in:
parent
5841622801
commit
7d41cb9d72
2 changed files with 3 additions and 0 deletions
2
.github/workflows/github-pages.yml
vendored
2
.github/workflows/github-pages.yml
vendored
|
@ -11,6 +11,8 @@ jobs:
|
||||||
environment: github-pages
|
environment: github-pages
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install CJK fonts
|
||||||
|
run: sudo apt-get install -y fonts-noto-cjk
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: make build
|
- run: make build
|
||||||
- uses: actions/upload-pages-artifact@v3
|
- uses: actions/upload-pages-artifact@v3
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -1,4 +1,5 @@
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
npx @marp-team/marp-cli README.md -o dist/index.html
|
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/
|
rsync -av assets/ dist/assets/
|
||||||
|
|
Loading…
Add table
Reference in a new issue