mapcomplete/deploy.sh

12 lines
312 B
Bash
Raw Normal View History

2020-07-16 17:29:52 +02:00
#! /bin/bash
ts-node createLayouts.ts
2020-07-16 17:29:52 +02:00
npm run build
rm -rf /home/pietervdvn/git/pietervdvn.github.io/MapComplete/*
cp -r dist/* /home/pietervdvn/git/pietervdvn.github.io/MapComplete/
./clean.sh
2020-07-16 17:29:52 +02:00
cd /home/pietervdvn/git/pietervdvn.github.io/MapComplete/
git add .
git commit -m "New mapcomplete version"
git push