From abe80370653f9f61f7caf6864c02b6a3198a318e Mon Sep 17 00:00:00 2001 From: bartvdbraak Date: Thu, 6 Feb 2020 17:31:20 +0100 Subject: [PATCH] Github Pages deploy steps --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index f8d2de9..964242e 100644 --- a/README.md +++ b/README.md @@ -54,3 +54,19 @@ yarn build ``` yarn lint ``` + +## Github Pages Deploy +Clone the gh-pages branch (it uses a different `publicpath` module). + +Build dist folder: +``` +yarn build +``` +Remove old root build files +``` +rm -rf js img css index.html +``` +Move new files to root. +``` +rsync -a dist/* . +```