10 Commits

Author SHA1 Message Date
0674f296c3 changement texte lien réseaux sociaux
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
changement texte lien réseaux sociaux
2023-10-12 16:15:50 +02:00
615affee61 changement contacts ajout réseaux sociaux
All checks were successful
continuous-integration/drone/push Build is passing
changement contacts ajout réseaux sociaux
2023-09-11 17:09:40 +02:00
e7868166db Ajout d'un lien vers l'intégration continue
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-11 17:04:56 +02:00
d4e26c0000 changement du titre
All checks were successful
continuous-integration/drone/push Build is passing
changement du titre
2023-09-11 17:02:40 +02:00
1de8199332 Actualisation du thème
All checks were successful
continuous-integration/drone/push Build is passing
Changement texte erreur 404
2023-09-11 17:00:30 +02:00
dc28f379e6 Actualiser les liens après changement de forge
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-11 16:58:30 +02:00
a6e31a9676 feat: Mise à jour des clés de déploiement
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-25 10:49:22 +01:00
287fb36a80 feat(Drone): Ajout d'une notification si erreur il y a
Some checks failed
continuous-integration/drone Build was killed
2023-01-16 16:19:57 +01:00
1b394ad151 feat(Garage): Modification de l'url de publication s3 2023-01-12 20:30:23 +01:00
58dd9961e6 feat(Drone): Ajout de notification lors d'une erreur pendant la construction du site 2023-01-12 09:22:31 +01:00
7 changed files with 50 additions and 28 deletions

View File

@@ -1,41 +1,38 @@
--- ---
# drone encrypt Jarnat/jarnat $AWS_ACCESS_KEY_ID # drone encrypt Weko/jarnat $AWS_ACCESS_KEY_ID
kind: secret kind: secret
name: PRODUCTION_AWS_ACCESS_KEY_ID name: PRODUCTION_AWS_ACCESS_KEY_ID
data: UoUtfAK67HGPeZHY7jOwi0wXeQVjJeaPP7COGDbQ24Uq5exuuv0/e+aVQitPUkpOcTiBuDH1 data: /th5QIqUKKWEiFW7AlGt6WIyIRfA7P3BSY23egt7FatmVa9DSgPoezR2vEOL9pkrCapTOhhJ
--- ---
# drone encrypt Jarnat/jarnat $AWS_SECRET_ACCESS_KEY # drone encrypt Weko/jarnat $AWS_SECRET_ACCESS_KEY
kind: secret kind: secret
name: PRODUCTION_AWS_SECRET_ACCESS_KEY name: PRODUCTION_AWS_SECRET_ACCESS_KEY
data: 2xgKaj9MXtc1NiyPLeIRCOLRVYjl7EKCxgUANr+tfrKQdtFk6ey5vAF9u42CLK9QcztSJ7rf3IK9k8/UskAf5/Ytj8jwjHTsxSZrAAm74Sv9c+XS2M1MSGSTEjY= data: k/KDv1h6aQ1mrosL+cruxfcZRBtnpxjIgcLq7sqZI2aEpts/9CmjauppP6XP0uVG35PwM4IR8jilwqkQrECkrc8DHxm7GsRtulyNl7ZhbdkfBqRjqy+w9e/zwBw=
--- ---
# drone encrypt Jarnat/jarnat $AWS_ACCESS_KEY_ID # drone encrypt Weko/jarnat $AWS_ACCESS_KEY_ID
kind: secret kind: secret
name: STAGING_AWS_ACCESS_KEY_ID name: STAGING_AWS_ACCESS_KEY_ID
data: Fj/s8kHdQ4V4YQJLqHNCdtIuPeTXQvRhcqZdJhD+fqvstpHxlARinrp2aB0pzRPmbG27u+Gp data: K3xcuAFbL8rEElaHCvvO9sWIPxzavluZwbQxBACI8C0Nw0Vqn6eNvgGaCVMPb8tZLCEUz/Yf
--- ---
# drone encrypt Jarnat/jarnat $AWS_SECRET_ACCESS_KEY # drone encrypt Weko/jarnat $AWS_SECRET_ACCESS_KEY
kind: secret kind: secret
name: STAGING_AWS_SECRET_ACCESS_KEY name: STAGING_AWS_SECRET_ACCESS_KEY
data: cZ9+WkF1Q70ckB8ruLEcsKxeTw/sw33D7lMtpmTVjnojcLqUoOHx1arTzjtTSMrs7qXXOm6/xgqAcRqh1RPCRfW1RdVdeGHE84MQyTaU0ob+frzH8lNxCH+VMF0= data: U8yV9Pt87uyTGuLrQD8tFB/XPbx0T6FBoZKIQEs5FcMnbDp6lpXEE3K4MamTYU80pT8uJf3rIol9RBzltXuKgutIubYg/vUCBXp28gchuwxymvM7TnRGYkgXa9w=
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: production name: production
platform:
os: linux
arch: arm64
steps: steps:
- name: build - name: build
image: klakegg/hugo:0.101.0-ext-debian-ci image: klakegg/hugo:0.101.0-ext-debian-ci
commands: commands:
- hugo --minify --environment production - hugo --minify --environment production
- name: deploy - name: deploy
image: klakegg/hugo:0.101.0-ext-debian-ci image: klakegg/hugo:0.101.0-ext-debian-ci
environment: environment:
@@ -46,6 +43,17 @@ steps:
commands: commands:
- hugo deploy --environment production - hugo deploy --environment production
- name: notify
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]
trigger: trigger:
event: event:
- tag - tag
@@ -55,15 +63,12 @@ kind: pipeline
type: docker type: docker
name: staging name: staging
platform:
os: linux
arch: arm64
steps: steps:
- name: build - name: build
image: klakegg/hugo:0.101.0-ext-debian-ci image: klakegg/hugo:0.101.0-ext-debian-ci
commands: commands:
- hugo --minify --buildDrafts --buildFuture --environment staging - hugo --minify --buildDrafts --buildFuture --environment staging
- name: deploy - name: deploy
image: klakegg/hugo:0.101.0-ext-debian-ci image: klakegg/hugo:0.101.0-ext-debian-ci
environment: environment:
@@ -73,3 +78,14 @@ steps:
from_secret: STAGING_AWS_SECRET_ACCESS_KEY from_secret: STAGING_AWS_SECRET_ACCESS_KEY
commands: commands:
- hugo deploy --environment staging - hugo deploy --environment staging
- name: notify
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]

View File

@@ -13,12 +13,12 @@ Vous pouvez retrouver les parties suivantes :
- Les articles de blog sont dans le dossier [content](./content/) et sont spécifique aux langues - Les articles de blog sont dans le dossier [content](./content/) et sont spécifique aux langues
- Les images statiques sont dans le dossier [static/images](./static/images/) aucun traitement n'est effectué par Hugo, il faut donc qu'elles soient optimisées - Les images statiques sont dans le dossier [static/images](./static/images/) aucun traitement n'est effectué par Hugo, il faut donc qu'elles soient optimisées
- Les données des différentes parties de la page d'accueil sont dans le dossier [data](./data/) avec une partie en [français](./data/fr/) et en [anglais](./data/en/) - Les données des différentes parties de la page d'accueil sont dans le dossier [data](./data/) avec une partie en [français](./data/fr/) et en [anglais](./data/en/)
- Les [services](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/service.yml) - Les [services](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/service.yml)
- Les [modalités](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/cta.yml) - Les [modalités](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/cta.yml)
- Le [Bandeau SAP](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/feature.yml) - Le [Bandeau SAP](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/feature.yml)
- La [zone d'intervention](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/skill.yml) - La [zone d'intervention](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/skill.yml)
- La [vision](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/about.yml) - La [vision](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/about.yml)
- Les [contacts](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/contact.yml) - Les [contacts](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/contact.yml)
- L'ordre des parties sur la page d'accueil sont dans le fichier [index.html](./themes/meghna-hugo/layouts/index.html) - L'ordre des parties sur la page d'accueil sont dans le fichier [index.html](./themes/meghna-hugo/layouts/index.html)
## Technologie ## Technologie
@@ -32,6 +32,8 @@ Le site utilise :
- du CSS pour le design - du CSS pour le design
- du [Markdown](https://fr.wikipedia.org/wiki/Markdown) pour le contenu - du [Markdown](https://fr.wikipedia.org/wiki/Markdown) pour le contenu
Le site est construit par [un robot](https://ci.resilien.fr/Weko/jarnat) qui lance la publication sur staging et la production (après avoir créer une étiquette).
# Thème # Thème
Pour créer le site nous sommes partis du thème [Meghna](https://gethugothemes.com/products/meghna) de la société [Themefisher](https://themefisher.com/) que nous avons adapté pour correspondre au plus prêt des besoins de Jarnat. Le template a été acheté par la société Weko - CAP Services. Pour créer le site nous sommes partis du thème [Meghna](https://gethugothemes.com/products/meghna) de la société [Themefisher](https://themefisher.com/) que nous avons adapté pour correspondre au plus prêt des besoins de Jarnat. Le template a été acheté par la société Weko - CAP Services.

View File

@@ -1,7 +1,7 @@
--- ---
# Titre de la page d'accueil # Titre de la page d'accueil
title: Jarnat title: Jarnat - Jardinage au naturel - Bordeaux et alentours
# Theme choisi # Theme choisi
theme: meghna-hugo theme: meghna-hugo

View File

@@ -4,4 +4,4 @@ deployment:
targets: targets:
- name: production - name: production
URL: >- URL: >-
s3://jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true&region=garage s3://jarnat.fr?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true&region=garage

View File

@@ -4,4 +4,4 @@ deployment:
targets: targets:
- name: staging - name: staging
URL: >- URL: >-
s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true&region=garage s3://staging.jarnat.fr?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true&region=garage

View File

@@ -12,6 +12,10 @@ contact:
info : "Téléphone : **[06 99 99 00 33](tel:0699990033)**" info : "Téléphone : **[06 99 99 00 33](tel:0699990033)**"
- icon : ti-email # themify icon pack : https://themify.me/themify-icons - icon : ti-email # themify icon pack : https://themify.me/themify-icons
info : "Email : **[bonjour@jarnat.fr](mailto:bonjour@jarnat.fr)**" info : "Email : **[bonjour@jarnat.fr](mailto:bonjour@jarnat.fr)**"
- icon : ti-facebook # themify icon pack : https://themify.me/themify-icons
info : "Notre page : **[Facebook](https://www.facebook.com/jarnat33)**"
- icon : ti-linkedin # themify icon pack : https://themify.me/themify-icons
info : "Notre page : **[LinkedIn](https://www.linkedin.com/company/jarnat)**"
# Contact form # Contact form

View File

@@ -6,9 +6,9 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-12 text-center"> <div class="col-12 text-center">
<h1>404</h1> <h1>Oups</h1>
<h2>Page Not Found</h2> <h2>La page n'existe pas</h2>
<a class="btn btn-main" href="{{ site.BaseURL | relLangURL }}">Back to home</a> <a class="btn btn-main" href="{{ site.BaseURL | relLangURL }}">Retour</a>
</div> </div>
</div> </div>
</div> </div>