Skip to content

Commit

Permalink
Add Marp workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AFCMS committed Jun 14, 2024
1 parent cc88abe commit c08a24c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/marp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# SPDX-FileCopyrightText: 2024 AFCMS <afcm.contact@gmail.com>
#
# SPDX-License-Identifier: CC0-1.0

.idea
.idea
.vscode/settings.json
.blend1
documents/presentation/*.pdf

0 comments on commit c08a24c

Please sign in to comment.