ci: build docs before deploy

This commit is contained in:
redonkulus 2020-05-05 08:37:21 -07:00
parent 0ae2557fad
commit 7281031234

View File

@ -3,13 +3,14 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"copy:pure": "cp -r ../build/ ./static/css/pure/",
"start": "docusaurus start",
"build": "docusaurus build", "build": "docusaurus build",
"copy:pure": "cp -r ../build/ ./static/css/pure/",
"deploy": "docusaurus deploy",
"prebuild": "npm run copy:pure", "prebuild": "npm run copy:pure",
"predeploy": "npm run copy:pure",
"prestart": "npm run copy:pure", "prestart": "npm run copy:pure",
"swizzle": "docusaurus swizzle", "start": "docusaurus start",
"deploy": "docusaurus deploy" "swizzle": "docusaurus swizzle"
}, },
"dependencies": { "dependencies": {
"@docusaurus/core": "^2.0.0-alpha.53", "@docusaurus/core": "^2.0.0-alpha.53",