Skip to content

Commit

Permalink
add options
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisugi authored May 25, 2022
1 parent 0275863 commit fc1edf0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/demo-file-generation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,14 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- run: yarn install

- name: generate pdf
run: |
docker run --rm --init -v $PWD:/home/marp/app/ -e LANG="ja_JP.UTF-8" marpteam/marp-cli demo.md --theme themes/academic.css --pdf --allow-local-files
docker run --rm --init -v $PWD:/home/marp/app/ -e LANG="ja_JP.UTF-8" -e MARP_USER="$(id -u):$(id -g)" marpteam/marp-cli demo.md --theme themes/academic.css --pdf --allow-local-files
- name: generate png
run: |
docker run --rm --init -v $PWD:/home/marp/app/ -e LANG="ja_JP.UTF-8" marpteam/marp-cli demo.md --theme themes/academic.css --images --allow-local-files
docker run --rm --init -v $PWD:/home/marp/app/ -e LANG="ja_JP.UTF-8" -e MARP_USER="$(id -u):$(id -g)" marpteam/marp-cli demo.md --theme themes/academic.css --images --allow-local-files
- name: commit & push
run: |
Expand Down

0 comments on commit fc1edf0

Please sign in to comment.