You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
So, after nanopub does its thing.. you do have to rerun hugo. So that makes sense.
But then, the questions are:
What triggers nanopub to generate new content?
How does nanopub find the Hugo site source? i.e the content/ dir to save that new content to.. because the script is running on my domain.. which has no access to the actually site source in Markdown.
Does nanopub itself trigger hugo rerun?
How do you trigger hugo rerun via nanopub for your site?
I use Netlify, so the hugo rerun can be triggered using curl -X POST -d '' https://api.netlify.com/build_hooks/MY_API".
Can nanopub make that curl call?
Can I configure that MY_API as an env var, that nanopub can pick up? I wouldn't want to commit that to configs.php publicly (if you add that option).
How do you save that newly generated content by nanopub?
Do you need to save that? Or does nanopub generate the whole fresh content from scratch each time?
If you do save, how to you do it? Do you or can you git commit that to a separate repo?
So many questions!
All of this can theoretically work if nanopub is able to create new content on Netlify disk.. which I don't know how to test.
The text was updated successfully, but these errors were encountered:
Conversation that you could have missed on the IRC:
# 15:54 kaushalmodi dgold: Thank you. Just to let you know that it's alright if this doesn't work out. May be this is one of those things that I adapt to my site just as I learn, with time :)
# 15:55 kaushalmodi dgold: "I have _0_ experience of netlify": Simply put, Netlify provides free continuous deployment of my site with free hosting under the condition that all content is purely STATIC.. so no scripts running on their server.
# 15:55 kaushalmodi I commit my Hugo content files to Gitlab > Netlify sees the commits > Triggers hugo build > My site gets deployed
# 15:57 kaushalmodi About other possibilities, I found one person Josh Johnson on twitter who uses Hugo + Netlify but uses voxpelli's package that I referenced earlier
# 15:58 kaushalmodi .. using Heroku (which also I don't know anything about). So a roadblock there too.
# 15:58 kaushalmodi https://twitter.com/jnjosh/status/984634880586862592
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I came across this post by you.
So, after nanopub does its thing.. you do have to rerun hugo. So that makes sense.
But then, the questions are:
content/
dir to save that new content to.. because the script is running on my domain.. which has no access to the actually site source in Markdown.curl -X POST -d '' https://api.netlify.com/build_hooks/MY_API"
.So many questions!
All of this can theoretically work if nanopub is able to create new content on Netlify disk.. which I don't know how to test.
The text was updated successfully, but these errors were encountered: