Hey everyone,
- I got my middleman site to work perfectly on the local server
- I have all my files pushed to my github.io
- Having some trouble deploying to my github user page
I’ve been browsing some online tutorials about how to deploy. One tutorial said to “uncomment the following in your config.rb and set the remote”
# github deploy
activate :deploy do |deploy|
deploy.method = :git
deploy.build_before = true
deploy.branch = "master"
deploy.remote = "git@github.com:username/username.github.io.git"
end
I don’t see any like " activate :deploy do |deploy|" in my config.rb file. I’ve also tried adding the line of code below to my config.rb file and still no luck
activate :deploy do |deploy|
deploy.method = :git
deploy.branch = 'master'
end
Thanks!