1
Fork 0

Deploy all files

This commit is contained in:
Jake Howard 2016-08-24 10:31:04 +01:00
parent 08b7f8fd82
commit b21153c384
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -64,7 +64,7 @@ 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/
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)