alpha
Login
or
Join now
graft.pds.cyberwild.org
/
graft-presentation
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Federated via graft
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ci: add Marp HTML build workflow
author
graft-presentation-ci
date
1 month ago
(Sep 13, 2026, 9:03 PM UTC)
commit
b9fa1b53
b9fa1b53634be84b83403e51d88b6bafdfe35763
parent
f378feb6
f378feb66dc42fe9a9059135926f06297646be30
+36
1 changed file
Expand all
Collapse all
Unified
Split
.forgejo
workflows
build-presentation.yml
+36
.forgejo/workflows/build-presentation.yml
View file
Reviewed
···
1
1
+
name: Build HTML presentation
2
2
+
3
3
+
on:
4
4
+
push:
5
5
+
branches: [main]
6
6
+
paths:
7
7
+
- presentation-fr.md
8
8
+
- img/**
9
9
+
workflow_dispatch:
10
10
+
11
11
+
jobs:
12
12
+
render:
13
13
+
runs-on: linux-host
14
14
+
steps:
15
15
+
- name: Checkout
16
16
+
run: |
17
17
+
rm -rf work
18
18
+
git clone --depth 1 "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" work
19
19
+
20
20
+
- name: Render presentation-fr.html with Marp
21
21
+
run: |
22
22
+
cd work
23
23
+
/usr/local/bin/marp presentation-fr.md -o presentation-fr.html --html --allow-local-files
24
24
+
25
25
+
- name: Commit and push if changed
26
26
+
run: |
27
27
+
cd work
28
28
+
git config user.email "ci@f1.cyberwild.org"
29
29
+
git config user.name "graft-presentation-ci"
30
30
+
git add presentation-fr.html
31
31
+
if git diff --cached --quiet; then
32
32
+
echo "Nothing to commit"
33
33
+
exit 0
34
34
+
fi
35
35
+
git commit -m "ci: regenerate presentation-fr.html"
36
36
+
git push origin HEAD:main