Add deploy script
This commit is contained in:
parent
29f9fa0471
commit
bea1c89913
1 changed files with 2 additions and 1 deletions
|
|
@ -58,6 +58,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "gatsby develop",
|
"dev": "gatsby develop",
|
||||||
"lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .",
|
"lint": "./node_modules/.bin/eslint --ext .js,.jsx --ignore-pattern public .",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"deploy": "gatsby build --prefix-links && gh-pages -d public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue