From e1bb5d16e4ee9703484c6f7ea5aeacb677c5d8c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Echedey=20L=C3=B3pez=20Romero?= Date: Thu, 7 Jan 2021 22:58:41 +0000 Subject: [PATCH] =?UTF-8?q?A=C3=B1adir=20'update.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 update.sh diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..affb484 --- /dev/null +++ b/update.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +directorio="$HOME" + +if [[ ! "$PWD" = "$directorio" ]] +then + cd "$directorio" +fi + +git pull + +bundle && bundle update + +JEKYLL_ENV=production bundle exec jekyll build --trace \ No newline at end of file