From 728103123439da9249e3eec090d22411f3fc13d6 Mon Sep 17 00:00:00 2001 From: redonkulus Date: Tue, 5 May 2020 08:37:21 -0700 Subject: [PATCH] ci: build docs before deploy --- site/package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/site/package.json b/site/package.json index 5b10d2a..730dfa0 100644 --- a/site/package.json +++ b/site/package.json @@ -3,13 +3,14 @@ "version": "0.0.0", "private": true, "scripts": { - "copy:pure": "cp -r ../build/ ./static/css/pure/", - "start": "docusaurus start", "build": "docusaurus build", + "copy:pure": "cp -r ../build/ ./static/css/pure/", + "deploy": "docusaurus deploy", "prebuild": "npm run copy:pure", + "predeploy": "npm run copy:pure", "prestart": "npm run copy:pure", - "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy" + "start": "docusaurus start", + "swizzle": "docusaurus swizzle" }, "dependencies": { "@docusaurus/core": "^2.0.0-alpha.53",