Compare commits

..

13 Commits
v4 ... main

Author SHA1 Message Date
0023a11580 Actualiser layouts/partials/head.html
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-05 18:46:12 +02:00
9fb15f90b2 Actualiser .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-05 18:31:45 +02:00
996f91b68e Actualiser .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-05 18:29:45 +02:00
0e6a77389b add build badge
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-22 20:43:53 +02:00
a13cd033b2 update mail to hotmail
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is passing
2024-06-25 08:24:54 +02:00
e2ed3ec08d maj README
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing
2024-04-01 17:44:09 +02:00
48f46bbb6a maj README
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-01 17:42:32 +02:00
970b7bc0ab maj diverses
All checks were successful
continuous-integration/drone/push Build is passing
2024-04-01 14:44:21 +02:00
8f5fb54968 maj title
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-31 09:44:39 +02:00
5ebe3da2cd maj fun
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-30 20:39:12 +01:00
a9989c634f maj notif by mail
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-30 20:03:03 +01:00
c335773d30 maj README
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-30 19:17:12 +01:00
d1ac2453ac maj README
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-30 18:39:18 +01:00
11 changed files with 160 additions and 484 deletions

View File

@ -37,7 +37,7 @@ steps:
- name: deploy on server - name: deploy on server
image: greglebreton/drone-rsync:aarch64 image: greglebreton/drone-rsync:aarch64
settings: settings:
hosts: ["192.168.1.100"] hosts: ["192.168.0.100"]
target: /var/www/html/hugo-cv target: /var/www/html/hugo-cv
source: public/* source: public/*
port: port:
@ -53,34 +53,39 @@ steps:
- python3 -m pip install weasyprint - python3 -m pip install weasyprint
- python3 web-to-pdf.py - python3 web-to-pdf.py
- name: deploy cv on terminal-cv # - name: deploy cv on terminal-cv
image: greglebreton/drone-rsync:aarch64 # image: greglebreton/drone-rsync:aarch64
settings: # settings:
hosts: ["192.168.1.101"] # hosts: ["192.168.0.100"]
target: /workspace/terminal-cv/site/resources/resume.pdf # target: /workspace/terminal-cv/site/resources/resume.pdf
source: ./out.pdf # source: ./out.pdf
port: 2021 # port: 2021
user: # user:
from_secret: RSYNC_USER # from_secret: RSYNC_USER
key: # key:
from_secret: RSYNC_STACK_KEY # from_secret: RSYNC_STACK_KEY
- name: notification - name: notify
image: appleboy/drone-telegram image: greglebreton/drone-email:arm64
settings: settings:
token: from.address: contact@gregandev.fr
from_secret: TELEGRAM_TOKEN host: mail.gregandev.fr
to: port: 587
from_secret: TELEGRAM_USERID debug: true
when: username: contact@gregandev.fr
status: password:
- failure from_secret: MAIL_PASSWORD
- success recipients: [ greg@gregandev.fr ]
format: markdown subject: >
message: > [{{ build.status }}]
📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} {{ repo.owner }}/{{ repo.name }}
body: >
📝 {{repo.name}} / {{commit.branch}} - {{commit.message}} <br />
{{#success build.status}} {{#success build.status}}
✅ succeeded for 👷♂ build {{build.number}} ✅ succeeded for 👷 build {{build.number}}
{{else}} {{else}}
🛑 failed for 👷♂ build {{build.number}} 🛑 failed for 👷 build {{build.number}}
{{/success}} {{/success}}
<br /><img src='https://git.gregandev.fr/assets/img/logo.svg'/>
when:
status: [ success, failure ]

6
.gitmodules vendored
View File

@ -1,6 +0,0 @@
[submodule "hugo-orbit-theme"]
path = themes/hugo-orbit-theme
url = https://github.com/aerohub/hugo-orbit-theme.git
[submodule "themes/hugo-orbit-theme"]
path = themes/hugo-orbit-theme
url = https://github.com/aerohub/hugo-orbit-theme.git

119
README.md
View File

@ -1,20 +1,117 @@
# HUGO CV # ![Typing SVG](https://readme-typing-svg.demolab.com?font=Anton&pause=1000&size=40&random=false&width=435&height=70&lines=HUGO-CV)
Framework web pour créer un site en 5 minutes (pause café comprise!) [Hugo](https://hugo.io) [![Build Status](https://drone.gregandev.fr/api/badges/gregandev/hugo-cv/status.svg)](https://drone.gregandev.fr/gregandev/hugo-cv)
## Comment ça marche ## INSTALLATION :hammer:
- Lançer Hugo serveur: - Via APT:
```bash ```bash
hugo serve sudo apt install hugo
``` ```
## CI / CD avec Drone - Via la ligne de commande:
```bash
cd /tmp
curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest \
| grep browser_download_url \
| grep linux-amd64.deb \
| grep extended \
| cut -d '"' -f 4 \
| wget -i -
- Drone.yml sudo dpkg -i hugo*_linux-amd64.deb
rm -rf hugo*_linux-amd64.deb
```
## TO DO :warning: La version APT de Debian n'est souvent pas la dernière release parue
## UTILISATION
### CREATION DU SITE :page_with_curl:
- Vérifier l'installation:
```bash
hugo version
```
### AJOUT D'UN THEME :art:
```bash
git init
git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke
echo theme = \"ananke\" >> config.toml
```
> Les thèmes HUGO CV: https://master--hugothemes.netlify.app/tags/resume/
### LANCER LE SERVEUR :rocket:
```bash
# L'option -D est pour servir les fichiers en Draft = true (non publiés)
hugo server -D
```
> Visiter http://localhost:1313
### BUILDER LE SITE :construction:
```bash
hugo
```
> Les fichiers générés sont dans le dossier public
## DEPLOIEMENT :checkered_flag:
### VIA GITLAB AUTO DEVOPS
Compléter le config.toml comme ceci:
```bash
baseURL = "https://gitlab_user.gitlab.io/"
```
Compléter le fichier .gitlab-ci.yml comme ceci:
```bash
image: registry.gitlab.com/pages/hugo/hugo_extended:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- main
```
### VIA DOCKER :whale:
- Créer une Dockerfile contenant:
```Dockerfile
FROM nginx:alpine
COPY ./public/* /usr/share/nginx/html
COPY ./docs/nginx-exemple.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
```
```bash
docker build -t hugo-site:1.0 .
docker run -d -p 8989:80 hugo-site:1.0
```
> http://localhost:8989
## DOCUMENTATION :books:
[DOC DU GARAGE](https://docs.legaragenumerique.xyz/divers/devops/hugo/)
[DOC OFFICIELLE](https://gohugo.io/documentation/)
[DOC MARKDOWN](https://www.markdownguide.org/basic-syntax/)
- [ ] Traduction Anglais
- [ ] Icônes language prog
- [ ] Randomize color

View File

@ -1,401 +1,15 @@
# Page settings baseURL = "/"
#languageCode = "fr"
baseurl = "/" languageCode = "en-us"
languageCode = ['fr-fr', 'en-us'] theme = "almeida-cv"
title = "Grégory Lebreton" title = "greg CV"
theme = "hugo-orbit-theme"
defaultContentLanguage = "fr"
# Do not build files for websites. Need them? Set to false
disableRSS = true
disableSitemap = true
disable404 = true
[params] [params]
colorDark = "#666"
[languages] colorLight = "#fff"
colorPageBackground = "#ddd"
################################# FRANCAIS ################################# colorPrimary = "#b4c2df"
[languages.fr] colorPrimaryText = "#fff"
languageName = "French" colorRightColumnBackground = "#f5f5f5"
weight = 1 colorSecondary = "#7b1014"
pages = 1
[languages.fr.params]
# Meta
description = "Hugo Responsive Resume/CV Theme for Developers"
author = "Pavel Kanyshev"
# Theme styles
styles = "styles-2.css"
# Sidebar sections
# Profile section
[languages.fr.params.profile]
name = "Grégory Lebreton"
tagline = "Ingénieur Devops"
avatar = "profile.png"
# Contact section
[languages.fr.params.contact]
enable = true
[[languages.fr.params.contact.list]]
class = "email"
icon = "fa-envelope"
url = "mailto: greg.lebreton@hotmail.com"
title = "greg.lebreton@hotmail.com"
[[languages.fr.params.contact.list]]
class = "website"
icon = "fa-globe"
url = "//www.gregandev.fr"
title = "www.gregandev.fr"
[[languages.fr.params.contact.list]]
class = "linkedin"
icon = "fa-linkedin"
url = "//linkedin.com/in/grégory-lebreton-996b261bb"
title = "linkedin"
[[languages.fr.params.contact.list]]
class = "github"
icon = "fa-git"
url = "//git.gregandev.fr/gregandev"
title = "git.gregandev.fr"
# Education section
[languages.fr.params.education]
enable = true
title = "Diplômes"
icon = "fa-graduation-cap"
[[languages.fr.params.education.list]]
degree = "Spécialisation Devops"
college = "GT'm Ingéniérie"
dates = "Jan 2019 - Juil 2019"
[[languages.fr.params.education.list]]
degree = "Concepteur développeur informatiques"
college = "AFPA - Paris XII"
dates = "Jan 2017 - Jan 2018"
# Languages section
[languages.fr.params.language]
enable = true
title = "Langues"
icon = "fa-comments-o"
[[languages.fr.params.language.list]]
language = "Français"
level = "Maternelle"
[[languages.fr.params.language.list]]
language = "Anglais"
level = "Courant"
[[languages.fr.params.language.list]]
language = "Allemand"
level = "Professionel"
# Interests section
[languages.fr.params.interests]
enable = true
title = "Interests"
icon = "fa-bicycle"
[[languages.fr.params.interests.list]]
interest = "Cinema"
[[languages.fr.params.interests.list]]
interest = "Skateboard"
[[languages.fr.params.interests.list]]
interest = "Réalité virtuelle"
# Main body sections
# Summary section
[languages.fr.params.summary]
enable = true
icon = "fa-user"
title = "Profile"
summary = "Je suis actuellement formateur technicien Informatique / DevOps au Garage Numérique en partenariat avec le Conservatoire National des Arts et Métiers de Paris. En charge de l'administration des serveurs, je gère également les choix techniques ainsi que l'intégration des nouveaux services déployés."
# Experiences section
[languages.fr.params.experiences]
enable = true
icon = "fa-briefcase"
title = "Experiences"
[[languages.fr.params.jobs.list]]
position = "Administrateur Système / Formateur Devops"
dates = "Mar 2021 - Present"
company = "Le Garage Numérique, Paris"
details = ""
[[languages.fr.params.jobs.list]]
position = "Developpeur PHP Fullstack"
dates = "Dec 2017"
company = "Leading Frog, Magny-Le-Hongres"
details = "Développement module PHP (Front-end, Back-end) Formulaire JS et BDD Mysql / Intégration API Stripe de paiement en ligne / Mise en production avec intégration Logger"
# Projects section
[languages.fr.params.projects]
enable = true
icon = "fa-archive"
title = "Projects"
intro = "**You can list your side projects or open source libraries in this section.** Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum et ligula in nunc bibendum fringilla a eu lectus"
[[languages.fr.params.projects.list]]
title = "Garage AI"
url = "https://github.com/aerohub/hugrid"
tagline = "Grid theme for Hugo. It's a kind of boilerplate to perform anyone or anything quickly. Portfolio, collection, bookmarks, contacts and so on"
[[languages.fr.params.projects.list]]
title = "HUGO Portfolio CI/CD"
url = "https://github.com/aerohub/hugo-faq-theme"
tagline = "Simple FAQ Theme for Hugo. You may use this theme for building very simple FAQs or note lists."
[[languages.fr.params.projects.list]]
title = "Quiz Python Django"
url = "https://github.com/aerohub/hugo-identity-theme"
tagline = "Little profile/card-style template for Hugo."
[[languages.fr.params.projects.list]]
title = "Orbit"
url = "https://github.com/aerohub/hugo-orbit-theme"
tagline = "Hugo Resume/CV Theme for Developers."
# Skills section
[languages.fr.params.skills]
enable = true
icon = "fa-rocket"
title = "Skills & Proficiency"
[[languages.fr.params.skills.list]]
skill = "Bash"
level = "95%"
[[languages.fr.params.skills.list]]
skill = "Docker"
level = "95%"
[[languages.fr.params.skills.list]]
skill = "Kubernetes"
level = "90%"
[[languages.fr.params.skills.list]]
skill = "Python & Django"
level = "80%"
[[languages.fr.params.skills.list]]
skill = "Java"
level = "70%"
[[languages.fr.params.skills.list]]
skill = "Ansible"
level = "75%"
[[languages.fr.params.skills.list]]
skill = "HTML5 & CSS"
level = "80%"
# Footer section
[languages.fr.params.footer]
copyright = "Grégory Lebreton"
################################# ANGLAIS #################################
[languages.en]
languageName = "English"
weight = 2
[languages.en.params]
# Meta
description = "Hugo Responsive Resume/CV Theme for Developers"
author = "Pavel Kanyshev"
# Theme styles
styles = "styles-2.css"
# Sidebar sections
# Profile section
[languages.en.params.profile]
name = "Grégory Lebreton"
tagline = "Ingénieur Devops"
avatar = "profile.png"
# Contact section
[languages.en.params.contact]
enable = true
[[languages.en.params.contact.list]]
class = "email"
icon = "fa-envelope"
url = "mailto: greg.lebreton@hotmail.com"
title = "greg.lebreton@hotmail.com"
[[languages.en.params.contact.list]]
class = "website"
icon = "fa-globe"
url = "//www.gregandev.fr"
title = "www.gregandev.fr"
[[languages.en.params.contact.list]]
class = "linkedin"
icon = "fa-linkedin"
url = "//linkedin.com/in/grégory-lebreton-996b261bb"
title = "linkedin"
[[languages.en.params.contact.list]]
class = "github"
icon = "fa-git"
url = "//git.gregandev.fr/gregandev"
title = "git.gregandev.fr"
# Education section
[languages.en.params.education]
enable = true
title = "Diplômes"
icon = "fa-graduation-cap"
[[languages.en.params.education.list]]
degree = "Spécialisation Devops"
college = "GT'm Ingéniérie"
dates = "Jan 2019 - Juil 2019"
[[languages.en.params.education.list]]
degree = "Concepteur développeur informatiques"
college = "AFPA - Paris XII"
dates = "Jan 2017 - Jan 2018"
# Languages section
[languages.en.params.language]
enable = true
title = "Langues"
icon = "fa-comments-o"
[[languages.en.params.language.list]]
language = "Français"
level = "Maternelle"
[[languages.en.params.language.list]]
language = "Anglais"
level = "Courant"
[[languages.en.params.language.list]]
language = "Allemand"
level = "Professionel"
# Interests section
[languages.en.params.interests]
enable = true
title = "Interests"
icon = "fa-bicycle"
[[languages.en.params.interests.list]]
interest = "Cinema"
[[languages.en.params.interests.list]]
interest = "Skateboard"
[[languages.en.params.interests.list]]
interest = "Réalité virtuelle"
# Main body sections
# Summary section
[languages.en.params.summary]
enable = true
icon = "fa-user"
title = "Profile"
summary = "Je suis actuellement formateur technicien Informatique / DevOps au Garage Numérique en partenariat avec le Conservatoire National des Arts et Métiers de Paris. En charge de l'administration des serveurs, je gère également les choix techniques ainsi que l'intégration des nouveaux services déployés."
# Experiences section
[languages.en.params.experiences]
enable = true
icon = "fa-briefcase"
title = "Experiences"
[[languages.en.params.jobs.list]]
position = "Administrateur Système / Formateur Devops"
dates = "Mar 2021 - Present"
company = "Le Garage Numérique, Paris"
details = ""
[[languages.en.params.jobs.list]]
position = "Developpeur PHP Fullstack"
dates = "Dec 2017"
company = "Leading.enog, Magny-Le-Hongres"
details = "Développement module PHP .enont-end, Back-end) Formulaire JS et BDD Mysql / Intégration API Stripe de paiement en ligne / Mise en production avec intégration Logger"
# Projects section
[languages.en.params.projects]
enable = true
icon = "fa-archive"
title = "Projects"
intro = "Th projects I am working on"
[[languages.en.params.projects.list]]
title = "Garage AI"
url = "https://github.com/aerohub/hugrid"
tagline = "Grid theme for Hugo. It's a kind of boilerplate to perform anyone or anything quickly. Portfolio, collection, bookmarks, contacts and so on"
[[languages.en.params.projects.list]]
title = "HUGO Portfolio CI/CD"
url = "https://github.com/aerohub/hugo-faq-theme"
tagline = "Simple FAQ Theme for Hugo. You may use this theme for building very simple FAQs or note lists."
[[languages.en.params.projects.list]]
title = "Quiz Python Django"
url = "https://github.com/aerohub/hugo-identity-theme"
tagline = "Little profile/card-style template for Hugo."
[[languages.en.params.projects.list]]
title = "Orbit"
url = "https://github.com/aerohub/hugo-orbit-theme"
tagline = "Hugo Resume/CV Theme for Developers."
# Skills section
[languages.en.params.skills]
enable = true
icon = "fa-rocket"
title = "Skills & Proficiency"
[[languages.en.params.skills.list]]
skill = "Bash"
level = "95%"
[[languages.en.params.skills.list]]
skill = "Docker"
level = "95%"
[[languages.en.params.skills.list]]
skill = "Kubernetes"
level = "90%"
[[languages.en.params.skills.list]]
skill = "Python & Django"
level = "80%"
[[languages.en.params.skills.list]]
skill = "Java"
level = "70%"
[[languages.en.params.skills.list]]
skill = "Ansible"
level = "75%"
[[languages.en.params.skills.list]]
skill = "HTML5 & CSS"
level = "80%"
# Footer section
[languages.en.params.footer]
copyright = "Grégory Lebreton"

View File

@ -1,16 +0,0 @@
baseURL = "/"
#languageCode = "fr"
languageCode = "en-us"
#theme = "almeida-cv"
theme = "hugo-orbit-theme"
title = "greg CV"
[params]
colorDark = "#666"
colorLight = "#fff"
colorPageBackground = "#ddd"
colorPrimary = "#b4c2df"
colorPrimaryText = "#fff"
colorRightColumnBackground = "#f5f5f5"
colorSecondary = "#7b1014"
pages = 1

View File

@ -11,13 +11,13 @@ BasicInfo:
- Icon: fas fa-map-marker-alt - Icon: fas fa-map-marker-alt
Info: Paris Info: Paris
Profile: Je suis actuellement formateur technicien Informatique / DevOps au Garage Numérique en partenariat avec le Conservatoire National des Arts et Métiers de Paris. En charge de l'administration des serveurs, je gère également les choix techniques ainsi que l'intégration des services. Profile: Je suis actuellement formateur DevOps au Garage Numérique en partenariat avec le Conservatoire National des Arts et Métiers de Paris. En charge de l'administration des serveurs, je gère également les choix techniques ainsi que l'intégration des services.
Experience: Experience:
- Employer: Le garage numérique - Employer: Le garage numérique
Place: Paris XX Place: Paris XX
Positions: Positions:
- Title: Formateur technicien informatique Devops - Title: Formateur Devops
Date: Mars 2021 - Aujourd'hui Date: Mars 2021 - Aujourd'hui
Details: Details:
- Administration système Linux (Debian) - Administration système Linux (Debian)
@ -46,7 +46,7 @@ Experience:
Date: Oct 2017 - Jan 2018 Date: Oct 2017 - Jan 2018
Details: Details:
- Développement module PHP (Front-end, Back-end) - Développement module PHP (Front-end, Back-end)
- Intégration API Stripe - Intégration API Stripe (paiement en ligne)
- Mise en production avec intégration Logger maison - Mise en production avec intégration Logger maison
Badges: ['PHP', 'SQL', 'HTML', 'CSS', 'Javascript'] Badges: ['PHP', 'SQL', 'HTML', 'CSS', 'Javascript']
@ -87,6 +87,7 @@ Skills:
- Terraform - Terraform
- GCP - GCP
- Jenkins - Jenkins
- Drone CI
- Family: Versionning - Family: Versionning
Items: Items:
@ -127,9 +128,8 @@ Diplomas:
- Baccalauréat ES - Baccalauréat ES
Interests: Interests:
- Famille
- Skateboard - Skateboard
- Réalité virtuelle - Réalité virtuelle
- Films / séries - Films / séries
- Musique - Musique
- Famille

@ -1 +0,0 @@
Subproject commit f89b1ee9a336dd144fea276400f1c4dc42b1bd95

View File

@ -1,8 +0,0 @@
# English
skills = 'skills'
projects = 'projects'
education = 'education'
language = 'languages'
interests = 'interests'
summary = 'summary'
experiences = 'experiences'

View File

@ -1,8 +0,0 @@
# French
skills = 'compétences'
projects = 'réalisations'
education = 'formation'
language = 'langues'
interests = 'loisirs'
summary = 'résumé'
experiences = 'expériences'

View File

@ -10,6 +10,6 @@
{{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.main.scss" . | toCSS | minify | fingerprint }} {{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.main.scss" . | toCSS | minify | fingerprint }}
<!--link rel="stylesheet" href="{{ $style.Permalink }}" integrity="" --> <!--link rel="stylesheet" href="{{ $style.Permalink }}" integrity="" -->
<link rel="stylesheet" href="/css/style.main.min.5b330efa68dc2cae8b2e72e4bdb3ea6809a2a85e4ff12133eb0caeb1bdab713b.css" integrity="" > <link rel="stylesheet" href="/style.main.min.5b330efa68dc2cae8b2e72e4bdb3ea6809a2a85e4ff12133eb0caeb1bdab713b.css" integrity="" >
</head> </head>

@ -1 +0,0 @@
Subproject commit f89b1ee9a336dd144fea276400f1c4dc42b1bd95