Add deploy script

This commit is contained in:
Pieter Vander Vennet 2020-07-16 17:29:52 +02:00
parent b24698513d
commit ce4cc244dc

9
deploy.sh Executable file
View 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