From 615c00c087f021a2dc741cd59816d0e2c9beba00 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Mon, 4 Mar 2019 19:51:41 +0100 Subject: [PATCH] fix: Also deploy README.md as part of docs --- website/README.md | 2 +- website/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/website/README.md b/website/README.md index 5db5994fdf..a41d1e2ede 100644 --- a/website/README.md +++ b/website/README.md @@ -1,4 +1,4 @@ -The Unleash website was created with [Docusaurus](https://docusaurus.io/). +The Unleash website was created with [Docusaurus](https://docusaurus.io/). The source code lives as part of the main [Unleash repo on GitHub](https://github.com/Unleash/unleash) and is built and deployed on all merges to master. This makes it easy to keep the documentation in sync with the latest version of Unleash. It's hosted on https://unleash.github.io/ diff --git a/website/package.json b/website/package.json index 04776b1e7a..95f36c068c 100644 --- a/website/package.json +++ b/website/package.json @@ -3,6 +3,7 @@ "examples": "docusaurus-examples", "start": "docusaurus-start", "build": "docusaurus-build", + "postbuild": "cp README.md build/unleash.github.io/README.md", "publish-gh-pages": "docusaurus-publish", "write-translations": "docusaurus-write-translations", "version": "docusaurus-version",