1
Fork 0

Use Netlify CLI to deploy instead of relying on GitHub.

This commit is contained in:
Bauke 2020-07-31 18:16:07 +02:00
parent f242a9e9d2
commit beacd32f40
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
3 changed files with 4997 additions and 54 deletions

View File

@ -2,7 +2,7 @@
> My personal website.
[![Netlify deploy status](https://api.netlify.com/api/v1/badges/ece73723-80fd-4f64-b168-2f6cecdf8fe9/deploy-status)](https://app.netlify.com/sites/bauke/deploys)
[![Netlify deploy status](https://api.netlify.com/api/v1/badges/37bb1f7c-2abb-419f-9a31-a4b72209c1c8/deploy-status)](https://app.netlify.com/sites/bauke/deploys)
## Building

View File

@ -9,7 +9,9 @@
"scripts": {
"build": "cpy '**' '../public/' --cwd='source' --parents && yarn build:css",
"build:css": "cpy 'node_modules/modern-normalize/modern-normalize.css' 'public/css/'",
"test": "stylelint 'source/css/*.css'"
"test": "stylelint 'source/css/*.css'",
"deploy": "rm -rf 'public/' && yarn build && yarn deploy:netlify",
"deploy:netlify": "netlify deploy --prod --dir 'public/' -s 37bb1f7c-2abb-419f-9a31-a4b72209c1c8"
},
"dependencies": {
"modern-normalize": "^0.7.0"
@ -17,6 +19,7 @@
"devDependencies": {
"cpy-cli": "^3.1.1",
"husky": "^4.2.5",
"netlify-cli": "^2.58.0",
"stylelint": "^13.6.1",
"stylelint-config-xo-space": "^0.14.0"
},

5044
yarn.lock

File diff suppressed because it is too large Load Diff