hugo-coder icon indicating copy to clipboard operation
hugo-coder copied to clipboard

How to update the theme automatically

Open tcprks opened this issue 2 years ago • 3 comments

When hugo coder theme provide new update . How does it update automatically on the hugo site which i am building locally. I am using hugo site and coder theme. I create locally When hugo coder theme provide new update . How does it update automatically on the hugo site which i am building locally.

tcprks avatar Mar 10 '22 00:03 tcprks

I recommend you to avoid automatically updating this theme. We don't guarantee stability, so breaking changes may happen sometimes.

But if you really want to take that risk, and you are using git submodules to add this theme to your project, you can run git submodules update --init before building.

luizdepra avatar Mar 10 '22 16:03 luizdepra

I build website locally and use rsync to push to webserver , are you suggesting to use "git submodules update --init" before each buidl and rsync command for updating the theme.

tcprks avatar Mar 13 '22 00:03 tcprks

Yup. But this will only work if you're using submodules.

luizdepra avatar Mar 13 '22 00:03 luizdepra