ashtadhyayi / ashtadhyayi.github.io

UI for the shared https://github.com/sanskrit/ashtadhyayi repo.
https://ashtadhyayi.github.io/
5 stars 2 forks source link

frequency of regeneration of webpages #3

Closed drdhaval2785 closed 5 years ago

drdhaval2785 commented 5 years ago

I could not find what is the frequency or timing of regenerating the new webpages by Hugo. That would help us understand when our corrections will be visible in the frontend.

vvasuki commented 5 years ago

Pages will have to be manually regenerated and pushed by someone (with instructions in the about page). Doesn't happen automatically.

drdhaval2785 commented 5 years ago

https://bwaycer.github.io/hugo_tutorial.hugo/tutorials/automated-deployments/ seems to be the way to automate.

vvasuki commented 5 years ago

Nice! After long learning + hacking hours, done - https://app.wercker.com/vvasuki/ui/runs . Invited @drdhaval2785 to manage on wercker.

vvasuki commented 5 years ago

Actually (not 100% sure) but this might only trigger updates when changes are made to the master branch of this repo and not on changes to https://github.com/sanskrit/ashtadhyayi/issues .

vvasuki commented 5 years ago

Added a new pipeline https://app.wercker.com/vvasuki/ashtadhyayi/ to trigger the ui. So, we're set.

Not sure how the pricing works though!

drdhaval2785 commented 5 years ago

The wercker seems to build, but the ashtadhyayi.github.io site does not seem updated. So not serving our purpose. Recently I updated nyasa 1.2.5 and no change seen on github.io

vvasuki commented 5 years ago

Can you check again?

Both of the following wercker jobs should finish:

for you to see the changes. And they seem to have run and lead to a commit ~ 1 hour ago - https://github.com/ashtadhyayi/ui/commits/gh-pages .

drdhaval2785 commented 5 years ago

There is no change in https://ashtadhyayi.github.io/ui/?sutra=1.2.5 from the previous version. It should have changed formatting and pink color because of the commit https://github.com/sanskrit/ashtadhyayi/commit/7e8de429fc4d209cfc3b6af11c9c54b918bf360f

vvasuki commented 5 years ago

Ah I see that the "update submodules" step is failing:

Submodule path 'content/vritti': checked out '6730d767adcd0606e0f2be604afa605176701bad'
Submodule path 'themes/ananke': checked out '04a27b7ed9aed228c35561b4ba0cfc7fe79951c1'
vvasuki commented 5 years ago

समीकृतमधुनेति परीक्षया ज्ञायते।

drdhaval2785 commented 5 years ago

Works.