set deploy config
This commit is contained in:
parent
f8d7d31786
commit
a67064b7c3
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -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)
|
||||
|
|
Reference in a new issue