pixelplanet-fork/deployment/deploy-dev.sh

6 lines
196 B
Bash

#!/bin/sh
tar --exclude='./dist/tiles' --exclude='./dist/log' -cvJf /tmp/ppfun.tar.xz ./dist
scp /tmp/ppfun.tar.xz pixelplanet:/tmp/
rm /tmp/ppfun.tar.xz
ssh pixelplanet ./dev-deploy-from-temp.sh