[Question] How do you deploy the site?
xavdid opened this issue · 3 comments
Hey there! So my personal site is hosted on Github and is a middleman site. Currently, my dev process is to run the server, then run a build script that does (basically) this so that my static files are at the root level so they're displayed publicly as a site:
bundle exec middleman build --clean
cp -r build/* .
rm -rf build
I see that you guys use travis and don't check in the built versions of your pages. Is the deploy process automated in such a way that a script like mine isn't needed?
Curious to learn more, it's been a thorn in my side for too long. Thanks!
@xavdid, I'm not sure how @tdreyno has the guide setup to deploy -- but one of my coworkers uses Travis for a Middleman -> Github Pages deploy and has his setup written up here. Hope that's helpful!
Oh interesting, he deploys his site as a project site instead of a user site. then middleman deploy goes to the right place. I like it!
This site is Travis -> Netlify