Skip to content

Instantly share code, notes, and snippets.

Domagoj Franc dokicro

Block or report user

Report or block dokicro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dokicro
dokicro / script
Last active Oct 25, 2018
Automated Vue deployment to the server via ssh
View script
#!/bin/bash
SSH_SERVER="user@website"
DEPLOY_PATH="/var/www/website"
DEPLOY_MODE="production"
echo "Building file"
npm run build
echo 'Compressing to dist'
tar -czf dist.gz dist
You can’t perform that action at this time.