From 18be93d9062d11ae71adf16563458bcb101d7fb3 Mon Sep 17 00:00:00 2001 From: "nathan.out" <71837012+nathan-out@users.noreply.github.com> Date: Sun, 21 Jul 2024 20:12:26 +0200 Subject: [PATCH] =?UTF-8?q?M=C3=A0j=20de=20la=20doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 7149cdd..997dae2 100644 --- a/README.md +++ b/README.md @@ -6,30 +6,15 @@ Mon blog GoHugo. ## Ajouter un article -`hugo new posts/my-first-post.md` +Mettre les fichiers Markdown sous `content`. -## Build le site +## Ajouter des images -`hugo` +Les mettre sous `static/img/`. ## Mettre à jour le site -- build le site `hugo` -- ajouter les nouveaux fichiers `git add .` -- commit & push - -``` -$ hugo # génère les pages html -$ git add . -$ git commit -m "message de commit" -$ git checkout master -$ git push -$ git checkout gh-pages -$ git pull -$ git add . -$ git commit -m "" -$ git push -``` +Rien à faire : grâce au CI/CD tout se fait tout seul une fois les fichiers uploadés ! ## Modifier le style