mapcomplete/deploy.sh

12 lines
305 B
Bash
Raw Normal View History

2020-07-16 17:29:52 +02:00
#! /bin/bash
2020-07-25 18:00:08 +02:00
npx ts-node createLayout.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/
cd /home/pietervdvn/git/pietervdvn.github.io/MapComplete/
git add .
git commit -m "New mapcomplete version"
git push