debugger-protocol-viewer icon indicating copy to clipboard operation
debugger-protocol-viewer copied to clipboard

Use GitHub Action to deploy to GitHub Pages

Open TimvdLippe opened this issue 5 years ago • 2 comments

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 avatar Apr 06 '20 15:04 TimvdLippe

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

TimvdLippe avatar Apr 06 '20 15:04 TimvdLippe

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.

paulirish avatar Apr 07 '20 21:04 paulirish