Open andreavaghi opened 10 years ago
It's not 100% automatic right now, it's triggered every time someone pushes to DiscoverMeteorStatic. In the future I hope to make it more automatic, but in the meantime if you have a Heroku account I can give you access to the app and you can just do a git push heroku master
manually.
I have an heroku account, but afraid to mess up something :) Is it triggered when everyone push to DiscoverMeteorStatic? because i did some commit to DiscoverMeteor_it and then others pushed to DiscoverMeteorStatic but i didn't see any change in the translations so i think i maybe did something wrong
It's because of the somewhat dumb way git submodules work. For a change to the DiscoverMeteor_it repo to appear in DiscoverMeteorStatic you need to:
If you use something like SourceTree the workflow becomes a bit clearer, because once you do step 3 you'll see the updated submodules waiting to be committed along with your other files.
Anyway, we're hoping to write a script that will automate steps 3, 4, 5 as soon as you do step 2. But yeah, for now it's a little cumbersome…
Thanks for the explanation! it maybe sound like a noob question, but how do i 'pull to DiscoverMeteor_it inside DiscoverMeteorStatic'?
Just:
cd source/chapters/it
then git pull
Or if you want to pull all submodules: git submodule foreach git pull
from the project's root.
As the title say, how can i push the translations to it.discovermeteor.com? It's automatic?