Files
n8n-docs/deploy.sh
Jan Oberhauser dd91ba8cd2 🚀 Change domain
2020-06-29 14:39:07 +02:00

21 lines
276 B
Bash
Executable File

#!/usr/bin/env sh
# abort on errors
set -e
# build
npm run build
# navigate into the build output directory
cd docs/.vuepress/dist
echo 'docs.n8n.io' > CNAME
git init
git add -A
git commit -m 'deploy'
git push -f git@github.com:n8n-io/n8n-docs.git master:gh-pages
cd -