mapcomplete/deploy.sh
Pieter Vander Vennet ce4cc244dc Add deploy script
2020-07-16 17:29:52 +02:00

9 lines
276 B
Bash
Executable file

#! /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