mapcomplete/deploy.sh
2020-07-25 18:00:08 +02:00

11 lines
305 B
Bash
Executable file

#! /bin/bash
npx ts-node createLayout.ts
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