Skip to content

Commit 6e42a53

Browse files
committed
Sync from Osuny
1 parent 872969d commit 6e42a53

20 files changed

Lines changed: 1124 additions & 3 deletions

File tree

.github/workflows/deuxfleurs.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: deuxfleurs
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
7+
jobs:
8+
build_and_deploy:
9+
name: Compilation du site Hugo et déploiement Deux fleurs
10+
runs-on: ubuntu-latest
11+
concurrency:
12+
group: deuxfleurs
13+
cancel-in-progress: true
14+
steps:
15+
16+
- name: Récupération des données
17+
uses: actions/checkout@v3
18+
with:
19+
submodules: true
20+
21+
- name: Installation de Node
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 'lts/*'
25+
cache: 'yarn'
26+
27+
- name: Installation des dépendances JavaScript
28+
run: yarn install
29+
30+
- name: Installation de Hugo
31+
uses: noesya/actions-hugo@release
32+
with:
33+
hugo-version: '0.145.0'
34+
extended: true
35+
withdeploy: true
36+
37+
- name: Compilation du site
38+
run: yarn osuny build
39+
40+
- name: Déploiement Garage
41+
run: hugo deploy --force --maxDeletes -1
42+
env:
43+
AWS_ACCESS_KEY_ID: ${{ secrets.DEUXFLEURS_ACCESS_KEY }}
44+
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEUXFLEURS_SECRET }}
45+
46+
- name: Notification Slack en cas d'échecs
47+
uses: ravsamhq/notify-slack-action@2.3.0
48+
if: always()
49+
with:
50+
status: ${{ job.status }}
51+
notify_when: "failure"
52+
notification_title: ""
53+
env:
54+
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

config/_default/languages.yaml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
1+
# DO NOT EDIT THIS FILE BY HAND - IT WILL BE OVERWRITTEN BY OSUNY
2+
13
fr:
2-
title: Osuny template
4+
title: >-
5+
InfraBasse
36
contentDir: content/fr
47
languageCode: fr
58
languageName: Français
9+
buildFuture: true
10+
params:
11+
contact_details:
12+
13+
taxonomies:
14+
administrator: administrators
15+
author: authors
16+
diploma: diplomas
17+
events_category: events_categories
18+
jobs_category: jobs_categories
19+
location: locations
20+
organizations_category: organizations_categories
21+
pages_category: pages_categories
22+
persons_category: persons_categories
23+
posts_category: posts_categories
24+
programs_category: programs_categories
25+
projects_category: projects_categories
26+
researcher: researchers
27+
teacher: teachers
28+
volume: volumes

config/production/config.yaml

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
# DO NOT EDIT THIS FILE BY HAND - IT WILL BE OVERWRITTEN BY OSUNY
22

3-
baseURL: /
3+
baseURL: https://infrabasse.ademe.osuny.site
4+
5+
## OSUNY
6+
osuny:
7+
website:
8+
id: 6c547269-8b64-4882-bee4-4b5cd0174718
49

510
## LANGUAGE
611
defaultContentLanguage: fr
7-
defaultContentLanguageInSubdir: false
12+
defaultContentLanguageInSubdir: false
13+
14+
## CACHE
15+
deployment:
16+
matchers:
17+
- pattern: "^.+\\.(woff2|woff|svg|ttf|otf|eot|js|css)$"
18+
cacheControl: "max-age=31536000, no-transform, public"
19+
gzip: true
20+
- pattern: "^.+\\.(png|jpg|jpeg|gif|webp)$"
21+
cacheControl: "max-age=31536000, no-transform, public"
22+
gzip: false
23+
## DEUXFLEURS
24+
workers: 4
25+
targets:
26+
- name: "production"
27+
URL: "s3://infrabasse.ademe.osuny.site?endpoint=garage.deuxfleurs.fr&s3ForcePathStyle=true&region=garage&awssdk=v1"

content/fr/_index.html

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
breadcrumb_title: >-
3+
Accueil
4+
title: >-
5+
Accueil
6+
subtitle: >-
7+
8+
bodyclass: >-
9+
10+
url: "/"
11+
slug: ""
12+
date: 2026-02-04T20:56:25+01:00
13+
lastmod: 2026-02-04T20:56:28+01:00
14+
meta:
15+
hugo:
16+
permalink: "/"
17+
path: "/"
18+
file: "content/fr/_index.html"
19+
slug: ""
20+
dates:
21+
created_at: 2026-02-04T20:56:25+01:00
22+
updated_at: 2026-02-04T20:56:28+01:00
23+
published_at: 2026-02-04T20:56:25+01:00
24+
search:
25+
id: "db524ac5-d3a6-413a-890c-a806223f0547"
26+
about_id: "c99248ea-efe1-4d72-b642-e54cb983e376"
27+
url: "/"
28+
kind: "Communication::Website::Page::Localization"
29+
lang: "fr"
30+
title: >-
31+
Accueil
32+
summary: >-
33+
34+
body: >-
35+
36+
37+
breadcrumbs:
38+
- title: >-
39+
Accueil
40+
41+
design:
42+
full_width: true
43+
toc:
44+
present: false
45+
offcanvas: true
46+
47+
48+
49+
position: 1
50+
weight: 1
51+
52+
translationKey: communication-website-page-c99248ea-efe1-4d72-b642-e54cb983e376
53+
54+
55+
56+
children:
57+
- "posts/_index.html"
58+
- "events/_index.html"
59+
- "exhibitions/_index.html"
60+
- "organizations/_index.html"
61+
- "persons/_index.html"
62+
meta_description: >-
63+
64+
65+
summary: >-
66+
67+
68+
header_text: >-
69+
70+
header_cta:
71+
72+
73+
contents_reading_time:
74+
seconds: 0
75+
text: >-
76+
moins d'une minute
77+
contents:
78+
79+
---

content/fr/authors/_index.html

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
breadcrumb_title: >-
3+
Équipe éditoriale
4+
title: >-
5+
Équipe éditoriale
6+
subtitle: >-
7+
8+
bodyclass: >-
9+
10+
url: "/personnes/equipe-editoriale/"
11+
slug: "equipe-editoriale"
12+
date: 2026-02-04T20:56:26+01:00
13+
lastmod: 2026-02-04T20:56:31+01:00
14+
meta:
15+
hugo:
16+
permalink: "/personnes/equipe-editoriale/"
17+
path: "/authors"
18+
file: "content/fr/authors/_index.html"
19+
slug: "equipe-editoriale"
20+
dates:
21+
created_at: 2026-02-04T20:56:26+01:00
22+
updated_at: 2026-02-04T20:56:31+01:00
23+
published_at: 2026-02-04T20:56:26+01:00
24+
search:
25+
id: "99d28186-2620-46d4-bb5b-119ad3243e13"
26+
about_id: "b15e930d-4459-4155-8fbf-2ed209819ae1"
27+
url: "/personnes/equipe-editoriale/"
28+
kind: "Communication::Website::Page::Localization"
29+
lang: "fr"
30+
title: >-
31+
Équipe éditoriale
32+
summary: >-
33+
34+
body: >-
35+
36+
37+
breadcrumbs:
38+
- title: >-
39+
Accueil
40+
path: "/"
41+
- title: >-
42+
Personnes
43+
path: "/personnes/"
44+
- title: >-
45+
Équipe éditoriale
46+
47+
design:
48+
full_width: false
49+
toc:
50+
present: false
51+
offcanvas: false
52+
53+
54+
55+
position: 2
56+
weight: 2
57+
58+
translationKey: communication-website-page-b15e930d-4459-4155-8fbf-2ed209819ae1
59+
60+
61+
62+
meta_description: >-
63+
64+
65+
summary: >-
66+
67+
68+
header_text: >-
69+
70+
header_cta:
71+
72+
73+
contents_reading_time:
74+
seconds: 0
75+
text: >-
76+
moins d'une minute
77+
contents:
78+
79+
---

content/fr/events/_index.html

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
breadcrumb_title: >-
3+
Agenda
4+
title: >-
5+
Agenda
6+
subtitle: >-
7+
8+
bodyclass: >-
9+
10+
url: "/agenda/"
11+
slug: "agenda"
12+
date: 2026-02-04T20:56:25+01:00
13+
lastmod: 2026-02-04T20:56:30+01:00
14+
meta:
15+
hugo:
16+
permalink: "/agenda/"
17+
path: "/events"
18+
file: "content/fr/events/_index.html"
19+
slug: "agenda"
20+
dates:
21+
created_at: 2026-02-04T20:56:25+01:00
22+
updated_at: 2026-02-04T20:56:30+01:00
23+
published_at: 2026-02-04T20:56:25+01:00
24+
search:
25+
id: "74d011d3-56ee-42ad-ab4a-3f67e5af1bcb"
26+
about_id: "6d0f65c4-3dea-47d4-a875-20dcd3006e12"
27+
url: "/agenda/"
28+
kind: "Communication::Website::Page::Localization"
29+
lang: "fr"
30+
title: >-
31+
Agenda
32+
summary: >-
33+
34+
body: >-
35+
36+
37+
breadcrumbs:
38+
- title: >-
39+
Accueil
40+
path: "/"
41+
- title: >-
42+
Agenda
43+
44+
design:
45+
full_width: true
46+
toc:
47+
present: false
48+
offcanvas: true
49+
50+
next_months:
51+
52+
53+
position: 2
54+
weight: 2
55+
56+
translationKey: communication-website-page-6d0f65c4-3dea-47d4-a875-20dcd3006e12
57+
58+
59+
60+
meta_description: >-
61+
62+
63+
summary: >-
64+
65+
66+
header_text: >-
67+
68+
header_cta:
69+
70+
section_taxonomies:
71+
72+
contents_reading_time:
73+
seconds: 0
74+
text: >-
75+
moins d'une minute
76+
contents:
77+
78+
---

0 commit comments

Comments
 (0)