documentation/deploy.sh
2018-07-28 12:44:40 -07:00

14 lines
183 B
Bash

#!/usr/bin/env sh
set -e
yarn run build
cd .vuepress/dist
git init
git add -A
git commit -m 'deploy'
git push -f git@github.com:pterodactyl/documentation.git master:gh-pages
cd -