ChromeDevTools / debugger-protocol-viewer

DevTools Protocol API docs—its domains, methods, and events
https://chromedevtools.github.io/devtools-protocol/
Other
862 stars 173 forks source link

Use GitHub Action to deploy to GitHub Pages #131

Open TimvdLippe opened 4 years ago

TimvdLippe commented 4 years ago

Rather than the current Bash scripts, we should use a CI solution like GitHub Actions to deploy. Example action: https://github.com/marketplace/actions/deploy-to-github-pages

TimvdLippe commented 4 years ago

@paulirish you want to take a stab at this, given the scripts run on your machine atm?

paulirish commented 4 years ago

this runs every hour:

cd "$HOME/code/pristine/devtools-protocol/scripts" && ./update-to-latest.sh && ./update-n-publish-docs.sh

basically invoking update-n-publish-docs.sh from a GH action on push for the -protocol repo is an option, but it doesn't feel like it wins us much. the bigger effort is having something like copybara update the -protocol repo with the latest PDF whenever it changes in the chromium repo. if we had that, then the rest of things could sit in actions.