generated from osunyorg/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Communication::Website] Save Numérique Recherche
- Loading branch information
Showing
7 changed files
with
257 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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®ion=garage&awssdk=v1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: / |