Add deploy script
This commit is contained in:
parent
b24698513d
commit
ce4cc244dc
1 changed files with 9 additions and 0 deletions
9
deploy.sh
Executable file
9
deploy.sh
Executable file
|
@ -0,0 +1,9 @@
|
|||
#! /bin/bash
|
||||
|
||||
npm run build
|
||||
rm -rf /home/pietervdvn/git/pietervdvn.github.io/MapComplete/*
|
||||
cp -r dist/* /home/pietervdvn/git/pietervdvn.github.io/MapComplete/
|
||||
cd /home/pietervdvn/git/pietervdvn.github.io/MapComplete/
|
||||
git add .
|
||||
git commit -m "New mapcomplete version"
|
||||
git push
|
Loading…
Reference in a new issue