From 3fd8bdefbc012f0e155b4da3f4854dff1a2da18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Mass=C3=A9?= Date: Mon, 3 Dec 2018 14:58:11 +0100 Subject: [PATCH] add a readme --- README.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b95e429 --- /dev/null +++ b/README.md @@ -0,0 +1,48 @@ +# www.itix.fr + +## How to update this website + +Create a new branch: + +```sh +git checkout -b "$(date +%F)-update" +``` + +Create a new page: + +```sh +hugo new speaking/my-wonderful-event.md +vim content/speaking/my-wonderful-event.md +``` + +Commit your changes: +```sh +git add . +git commit -m "$(date +%F) update" +git push --set-upstream origin "$(date +%F)-update" +``` + +Go on [GitHub](https://github.com/nmasse-itix/www.itix.fr) and create a new pull +request based on this new branch. + +Netlify will provision a dedicated instance for this new pull request. +The URL will be posted in a comment in the PR. + +Check that the modifications are OK. + +Merge the pull request + +Delete the remote branch. + +Change back to the `master` branch locally: + +```sh +git checkout master +git pull +``` + +Delete the old branch: + +```sh +git branch -d "$(date +%F)-update" +```