Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a16a591661 | |||
| 0674f296c3 | |||
| 615affee61 | |||
| e7868166db | |||
| d4e26c0000 | |||
| 1de8199332 | |||
| dc28f379e6 | |||
| a6e31a9676 | |||
| 287fb36a80 | |||
| 1b394ad151 | |||
| 58dd9961e6 |
48
.drone.yml
48
.drone.yml
@@ -1,41 +1,38 @@
|
||||
---
|
||||
# drone encrypt Jarnat/jarnat $AWS_ACCESS_KEY_ID
|
||||
# drone encrypt Weko/jarnat $AWS_ACCESS_KEY_ID
|
||||
kind: secret
|
||||
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
|
||||
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
|
||||
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
|
||||
name: STAGING_AWS_SECRET_ACCESS_KEY
|
||||
data: cZ9+WkF1Q70ckB8ruLEcsKxeTw/sw33D7lMtpmTVjnojcLqUoOHx1arTzjtTSMrs7qXXOm6/xgqAcRqh1RPCRfW1RdVdeGHE84MQyTaU0ob+frzH8lNxCH+VMF0=
|
||||
data: U8yV9Pt87uyTGuLrQD8tFB/XPbx0T6FBoZKIQEs5FcMnbDp6lpXEE3K4MamTYU80pT8uJf3rIol9RBzltXuKgutIubYg/vUCBXp28gchuwxymvM7TnRGYkgXa9w=
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: production
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
commands:
|
||||
- hugo --minify --environment production
|
||||
|
||||
- name: deploy
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
environment:
|
||||
@@ -46,6 +43,17 @@ steps:
|
||||
commands:
|
||||
- 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:
|
||||
event:
|
||||
- tag
|
||||
@@ -55,15 +63,12 @@ kind: pipeline
|
||||
type: docker
|
||||
name: staging
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
commands:
|
||||
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||
|
||||
- name: deploy
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
environment:
|
||||
@@ -73,3 +78,14 @@ steps:
|
||||
from_secret: STAGING_AWS_SECRET_ACCESS_KEY
|
||||
commands:
|
||||
- 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 ]
|
||||
|
||||
14
README.md
14
README.md
@@ -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 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 [services](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/service.yml)
|
||||
- Les [modalités](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/cta.yml)
|
||||
- Le [Bandeau SAP](https://git.weko.io/Jarnat/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 [vision](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/about.yml)
|
||||
- Les [contacts](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/contact.yml)
|
||||
- Les [services](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/service.yml)
|
||||
- Les [modalités](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/cta.yml)
|
||||
- Le [Bandeau SAP](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/feature.yml)
|
||||
- La [zone d'intervention](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/skill.yml)
|
||||
- La [vision](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/about.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)
|
||||
|
||||
## Technologie
|
||||
@@ -32,6 +32,8 @@ Le site utilise :
|
||||
- du CSS pour le design
|
||||
- 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
|
||||
|
||||
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.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
|
||||
# Titre de la page d'accueil
|
||||
title: Jarnat
|
||||
title: Jarnat - Jardinage au naturel - Bordeaux et alentours
|
||||
|
||||
# Theme choisi
|
||||
theme: meghna-hugo
|
||||
|
||||
@@ -4,4 +4,4 @@ deployment:
|
||||
targets:
|
||||
- name: production
|
||||
URL: >-
|
||||
s3://jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||
s3://jarnat.fr?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||
|
||||
@@ -4,4 +4,4 @@ deployment:
|
||||
targets:
|
||||
- name: staging
|
||||
URL: >-
|
||||
s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||
s3://staging.jarnat.fr?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||
|
||||
@@ -5,7 +5,7 @@ date: 2022-09-13
|
||||
|
||||
## Éditeur
|
||||
|
||||
Le site WEB https://jarnat.fr est édité par la SARL JARNAT, immatriculée 91440400900013.
|
||||
Le site WEB https://jarnat.fr est édité par la SARL JARNAT, immatriculée 91440400900021.
|
||||
Jarnat est une entreprise de l'économie sociale et solidaire.
|
||||
|
||||
## Directeur de publication
|
||||
|
||||
@@ -12,6 +12,10 @@ contact:
|
||||
info : "Téléphone : **[06 99 99 00 33](tel:0699990033)**"
|
||||
- icon : ti-email # themify icon pack : https://themify.me/themify-icons
|
||||
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
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 text-center">
|
||||
<h1>404</h1>
|
||||
<h2>Page Not Found</h2>
|
||||
<a class="btn btn-main" href="{{ site.BaseURL | relLangURL }}">Back to home</a>
|
||||
<h1>Oups</h1>
|
||||
<h2>La page n'existe pas</h2>
|
||||
<a class="btn btn-main" href="{{ site.BaseURL | relLangURL }}">Retour</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user