Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Deployment using GIT and SSH

6 views
Skip to first unread message

Dave Everitt

unread,
Dec 1, 2024, 12:50:29 PM12/1/24
to nanoc
After issues with rsync I decided to set up Nanoc deployment in the same way that I do my other websites, with SSH and GIT. Basically, I have another GIT repo inside the output folder, and a target repo on the server that moved the updated files to the right directory. Once set up, `nanoc deploy` does the work, without ever having to update the inner GIT repo manually. I hope this will be of help to other Nanoc users, as this is how I now deploy all my Nanoc sites.

I could post the details here, but they’re already written up in detail in my solutions log:


@Denis: I’d be happy to add an abbreviated version to the Nanoc manual if you think it would be a useful addition.

Denis Defreyne

unread,
Dec 5, 2024, 6:56:14 AM12/5/24
to na...@googlegroups.com
Hey Dave,

Thanks for the write-up! I use a very similar approach for my personal site, https://denisdefreyne.com/

I thought I had already done a write-up of this approach on the Nanoc web site, but I seem to be mistaken. I’ve created a ticket to track it: https://github.com/nanoc/nanoc.app/issues/304. I’m open for pull requests on the Nanoc web site — https://github.com/nanoc/nanoc.app/blob/main/content/doc/deploying.dmark is the page that’ll need to be adjusted.

Cheers,

--
You received this message because you are subscribed to the Google Groups "nanoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nanoc+un...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages