Hey, thanks for the awesome theme,
I'm having trouble deplying to Netlify.
I have a similar problem to that of issue #7 and #17
However after trying those solutions it still doesn't work for me.
I have a nice working first version of a website, but I'm having issues deploying it with netlify.
Working locally
my website works perfectly when using hugo sever
with local host.
Setup
I added it as a submodule and made sure to follow the instructions perfecty,
I set everything up correctly with netlify, following the process I've used for other hugo sites.
but I get this error in netlify:
Error checking out submodules: Submodule 'themes/portio'
Permission denied (publickey)
fatal: Could not read from remote repository
Please make sure you have the correct access rights
Extended version of netlify error
9:16:19 AM: Preparing Git Reference refs/heads/master
9:16:21 AM: Error checking out submodules: Submodule 'themes/portio' ([email protected]:StaticMania/portio-hugo.git) registered for path 'themes/portio'
Cloning into '/opt/build/repo/themes/portio'...
Warning: Permanently added 'github.com' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:StaticMania/portio-hugo.git' into submodule path '/opt/build/repo/themes/portio' failed
Failed to clone 'themes/portio'. Retry scheduled
Cloning into '/opt/build/repo/themes/portio'...
Permission denied (publickey).
fatal: Could not read from remote repository.
I've worked with other hugo themes and I've never had this issue before.
Are there any extra steps I need to take to stop having the error message Permission denied (publickey).
that netlify produces?
Attempts to fix
Like mentioned at the beginning I did try the solutions mentioned #7 and #17
I change baseURL
to use https
instead of http
and I also installed hugo extended through snap.
Previously I had hugo installed from the Arch Linux AUR, but I uninstalled that one to use extended version with snap. which seems to work without any issues with hugo server
Specs
Linux Manjaro with Awesome WM
I apprecaite any help, have been stuck with this for a couple of days.
Thank you so much once again for your great work!