This commit is contained in:
@@ -10,8 +10,8 @@ jobs:
|
|||||||
id: restore-cache
|
id: restore-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /opt/acttoolcache/
|
path: /opt/
|
||||||
key: marp-installation
|
key: marp-renderer
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: install marp toolchain
|
- name: install marp toolchain
|
||||||
@@ -23,13 +23,13 @@ jobs:
|
|||||||
if: steps.restore-cache.outputs.cache-hit != 'true'
|
if: steps.restore-cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
path: /opt/acttoolcache
|
path: /opt/
|
||||||
key: marp-installation
|
key: marp-renderer
|
||||||
- name: build presentation
|
- name: build presentation
|
||||||
working-directory: ./presentation
|
working-directory: ./presentation
|
||||||
run: |
|
run: |
|
||||||
marp presentation.md --html -o index.html --theme-set ./themes -- && \
|
marp presentation.md --html -o index.html --theme-set ./themes -- && \
|
||||||
marp presentation.md --html --browser chrome --allow-local-files -o presentation.pdf --theme-set ./themes -- && \
|
marp presentation.md --html --browser-path "/opt/google/chrome/google-chrome" --allow-local-files -o presentation.pdf --theme-set ./themes -- && \
|
||||||
zip -r ../presentation.zip .
|
zip -r ../presentation.zip .
|
||||||
- name: upload to pages
|
- name: upload to pages
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user