-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 972 Bytes
/
marp.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# SPDX-FileCopyrightText: 2024 AFCMS <afcm.contact@gmail.com>
# SPDX-License-Identifier: GPL-3.0-or-later
---
name: Marp
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
- name: Install Chromium
run: sudo apt-get install -y chromium-browser
# https://github.com/marp-team/marp-cli
- name: Install Marp CLI
run: npm install -g @marp-team/marp-cli
- name: Build PDF Slide Deck
run: marp --pdf ./documents/presentation/presentation_fr-FR.md
- name: Upload PDF Slide Deck
uses: actions/upload-artifact@v4
with:
name: presentation_fr-FR
path: ./documents/presentation/presentation_fr-FR.pdf