Skip to content

Commit

Permalink
[Communication::Website] Save Numérique Recherche
Browse files Browse the repository at this point in the history
  • Loading branch information
osuny-bot committed Dec 6, 2024
1 parent aa7676c commit 1892b6c
Show file tree
Hide file tree
Showing 7 changed files with 257 additions and 2 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/deuxfleurs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: deuxfleurs

on:
push:
branches: [ "main" ]

jobs:
build_and_deploy:
name: Compilation du site Hugo et déploiement Deux fleurs
runs-on: ubuntu-latest
steps:

- name: Récupération des données
uses: actions/checkout@v3
with:
submodules: true

- name: Installation de Node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'yarn'

- name: Installation des dépendances JavaScript
run: yarn install

- name: Installation de Hugo
uses: peaceiris/actions-hugo@v3.0.0
with:
hugo-version: '0.136.5'
extended: true

- name: Compilation du site
run: yarn osuny build

- name: Déploiement Garage
run: hugo deploy --force --maxDeletes -1
env:
AWS_ACCESS_KEY_ID: ${{ secrets.DEUXFLEURS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEUXFLEURS_SECRET }}

- name: Notification Slack en cas d'échecs
uses: ravsamhq/notify-slack-action@2.3.0
if: always()
with:
status: ${{ job.status }}
notify_when: "failure"
notification_title: ""
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
18 changes: 16 additions & 2 deletions config/production/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
# DO NOT EDIT THIS FILE BY HAND - IT WILL BE OVERWRITTEN BY OSUNY

baseURL: /
baseURL: https://numerique-recherche.rennes.osuny.site

## LANGUAGE
defaultContentLanguage: fr
defaultContentLanguageInSubdir: false
defaultContentLanguageInSubdir: false

## CACHE
deployment:
matchers:
- pattern: "^.+\\.(woff2|woff|svg|ttf|otf|eot|js|css)$"
cacheControl: "max-age=31536000, no-transform, public"
gzip: true
- pattern: "^.+\\.(png|jpg|jpeg|gif|webp)$"
cacheControl: "max-age=31536000, no-transform, public"
gzip: false
## DEUXFLEURS
targets:
- name: "production"
URL: "s3://numerique-recherche.rennes.osuny.site?endpoint=garage.deuxfleurs.fr&s3ForcePathStyle=true&region=garage&awssdk=v1"
62 changes: 62 additions & 0 deletions content/fr/pages/mentions-legales/_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
breadcrumb_title: >-
Mentions légales
title: >-
Mentions légales
url: "/mentions-legales/"
slug: "mentions-legales"
date: 2024-12-06T11:56:31+01:00
lastmod: 2024-12-06T11:56:31+01:00
meta:
hugo:
permalink: "/mentions-legales/"
file: "content/fr/pages/mentions-legales/_index.html"
path: "mentions-legales"
slug: "mentions-legales"
dates:
created_at: 2024-12-06T11:56:31+01:00
updated_at: 2024-12-06T11:56:31+01:00
published_at: 2024-12-06T11:56:31+01:00

breadcrumbs:
- title: >-
Accueil
path: "/"
- title: >-
Mentions légales

design:
full_width: false
toc:
present: false
offcanvas: false

position: 4
weight: 4
translationKey: communication-website-page-1b35f782-c3d6-41c1-ab4d-d49368996dc1

bodyclass: >-



meta_description: >-


summary: >-


header_text: >-

header_cta:
display:
label: >-

target: ""
external: false
contents_reading_time:
seconds: 0
text: >-
moins d'une minute
contents:

---
63 changes: 63 additions & 0 deletions content/fr/pages/plan-du-site/_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
breadcrumb_title: >-
Plan du site
title: >-
Plan du site
url: "/plan-du-site/"
slug: "plan-du-site"
date: 2024-12-06T11:56:32+01:00
lastmod: 2024-12-06T11:56:32+01:00
meta:
hugo:
permalink: "/plan-du-site/"
file: "content/fr/pages/plan-du-site/_index.html"
path: "plan-du-site"
slug: "plan-du-site"
dates:
created_at: 2024-12-06T11:56:32+01:00
updated_at: 2024-12-06T11:56:32+01:00
published_at: 2024-12-06T11:56:32+01:00

breadcrumbs:
- title: >-
Accueil
path: "/"
- title: >-
Plan du site

design:
full_width: false
toc:
present: true
offcanvas: false

layout: sitemap
position: 7
weight: 7
translationKey: communication-website-page-77b5a931-9875-4029-8d0e-cd7a4950a18d

bodyclass: >-



meta_description: >-


summary: >-


header_text: >-

header_cta:
display:
label: >-

target: ""
external: false
contents_reading_time:
seconds: 0
text: >-
moins d'une minute
contents:

---
62 changes: 62 additions & 0 deletions content/fr/pages/politique-de-confidentialite/_index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
breadcrumb_title: >-
Politique de confidentialité
title: >-
Politique de confidentialité
url: "/politique-de-confidentialite/"
slug: "politique-de-confidentialite"
date: 2024-12-06T11:56:31+01:00
lastmod: 2024-12-06T11:56:31+01:00
meta:
hugo:
permalink: "/politique-de-confidentialite/"
file: "content/fr/pages/politique-de-confidentialite/_index.html"
path: "politique-de-confidentialite"
slug: "politique-de-confidentialite"
dates:
created_at: 2024-12-06T11:56:31+01:00
updated_at: 2024-12-06T11:56:31+01:00
published_at: 2024-12-06T11:56:31+01:00

breadcrumbs:
- title: >-
Accueil
path: "/"
- title: >-
Politique de confidentialité

design:
full_width: false
toc:
present: false
offcanvas: false

position: 5
weight: 5
translationKey: communication-website-page-9b5b3648-7d61-44c7-bdcb-7d31070abf8a

bodyclass: >-



meta_description: >-


summary: >-


header_text: >-

header_cta:
display:
label: >-

target: ""
external: false
contents_reading_time:
seconds: 0
text: >-
moins d'une minute
contents:

---
1 change: 1 addition & 0 deletions data/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default:
3 changes: 3 additions & 0 deletions static/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# DO NOT EDIT THIS FILE BY HAND - IT WILL BE OVERWRITTEN BY OSUNY
User-Agent: *
Disallow: /

0 comments on commit 1892b6c

Please sign in to comment.