TiddlyWiki5/deploy.sh
Jermolene 73d301e63f Update the deploy script to publish to NPM
Which means that I'll only be deploying when there's a version bump.
Which means that I'll be deploying new versions multiple times a day
sometimes.
2013-11-09 10:54:10 +00:00

17 lines
210 B
Bash
Executable file

#!/bin/bash
# Publish to NPM
npm publish || exit 1
# Deploy latest build to github
pushd ../jermolene.github.com
git add --all || exit 1
git commit -m "Updates" || exit 1
git push origin || exit 1
popd