mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 10:25:00 +01:00
deployment tweaks
This commit is contained in:
parent
9d577f9c90
commit
70c6824e81
@ -1,7 +1,7 @@
|
||||
# matthiaskretschmann.com
|
||||
> Portfolio of Matthias Kretschmann
|
||||
|
||||
[![build status](https://www.git.berlin/kremalicious/portfolio/badges/master/build.svg)](https://www.git.berlin/kremalicious/portfolio/commits/master)
|
||||
[![pipeline status](https://git.berlin/m/portfolio/badges/master/pipeline.svg)](https://git.berlin/m/portfolio/commits/master)
|
||||
|
||||
## Development
|
||||
|
||||
@ -9,3 +9,9 @@
|
||||
npm i
|
||||
npm start
|
||||
```
|
||||
|
||||
## Deployment
|
||||
|
||||
```bash
|
||||
npm run deploy
|
||||
```
|
||||
|
11
deploy.sh
Executable file
11
deploy.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e;
|
||||
|
||||
aws s3 sync ./public s3://beta.matthiaskretschmann.com --delete --acl public-read
|
||||
|
||||
echo "---------------------------------------------"
|
||||
echo " ✓ done deployment "
|
||||
echo "---------------------------------------------"
|
||||
|
||||
exit;
|
@ -36,7 +36,8 @@
|
||||
"build": "gatsby build",
|
||||
"start": "gatsby develop",
|
||||
"format": "prettier --write 'src/**/*.js'",
|
||||
"test": "npm run lint"
|
||||
"test": "npm run lint",
|
||||
"deploy": "./deploy.sh"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults"
|
||||
|
Loading…
Reference in New Issue
Block a user