w3c / webappsec-suborigins

Suborigins
https://w3c.github.io/webappsec-suborigins/
Other
25 stars 9 forks source link

Keep the published editors draft in sync with master #70

Open adob opened 7 years ago

adob commented 7 years ago

The index.bs and index.html files are continually updated in the master branch but the changes don't routinely make their way over to the gh-pages branch and published docs at https://w3c.github.io/webappsec-suborigins/index.html.

The result is that the draft is out of date. Is this intended? Can we keep gh-pages and master in sync?

devd commented 7 years ago

I just pushed. It isn't intended per se but it isn't an invariant we try to maintain either: I am ok with it being a little out of date. But will try and do a better job keeping it in sync! sorry about that.

annevk commented 7 years ago

Why are they different though?

devd commented 7 years ago

ohh its just easier to review the diff with .bs than all the changes to index.html. Further, sometimes people can make changes in the github UI and don't run bikeshed. Updating it as simple as running make and make publish on the checkout from the console. Haven't cared enough to have a cron job doing this in the background. Is this something that already has a good solution?

annevk commented 7 years ago

For WHATWG we have an automated setup that publishes from Travis. I think @domenic can offer some advice on how to do it for GitHub pages.

domenic commented 7 years ago

https://gist.github.com/domenic/ec8b0fc8ab45f39403dd

devd commented 7 years ago

ok. I will try to get to this. if anyone else has the time, feel free to grab this :)