mirror of
https://github.com/pure-css/pure
synced 2024-11-22 05:32:20 +01:00
ci: move copy to deploy script
This commit is contained in:
parent
9dc1a9ddcf
commit
2e49130c27
@ -1,6 +1,7 @@
|
||||
git config --global user.name "${GH_NAME}"
|
||||
git config --global user.email "${GH_EMAIL}"
|
||||
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc
|
||||
cp -rf ./build/ ./static/css/pure/
|
||||
cd site
|
||||
npm install
|
||||
GIT_USER="${GH_NAME}" npm run deploy
|
@ -4,11 +4,9 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "docusaurus build",
|
||||
"copy:pure": "cp -rf ../build/ ./static/css/pure/",
|
||||
"deploy": "docusaurus deploy",
|
||||
"prebuild": "npm run copy:pure",
|
||||
"predeploy": "npm run build",
|
||||
"prestart": "npm run copy:pure",
|
||||
"prestart": "cp -rf ../build/ ./static/css/pure/",
|
||||
"start": "docusaurus start",
|
||||
"swizzle": "docusaurus swizzle"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user