1
Fork 0

set deploy config

This commit is contained in:
Jake Howard 2016-08-19 09:08:23 +01:00
parent f8d7d31786
commit a67064b7c3
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -62,6 +62,8 @@ spellcheck:
upload: build
git clone https://github.com/RealOrangeOne/host-container.git $(DEPLOY_DIR)
git config --global user.email "git@theorangeone.net"
git config --global user.name "TheOrangeOne"
cp -rf $(OUTPUTDIR)/* $(DEPLOY_DIR)/site/
@cd $(DEPLOY_DIR) && git remote add dokku $(DEPLOY_URL) && git add . && git commit -m "add files" && git push -f dokku master --quiet
rm -rf $(DEPLOY_DIR)