homepage/upload-new.sh

10 lines
169 B
Bash
Executable File

#!/usr/bin/env bash
cd app
npm run lint
npm run type-check
npm run build
cd ..
rsync -rav -e ssh --delete app/dist/ root@andrewlalis.com:/var/www/andrewlalis.com/html