From bcfb4ea8c973c4e03e2a19f02882241529bb36ee Mon Sep 17 00:00:00 2001 From: Ray Schamp <ray@scratch.mit.edu> Date: Tue, 18 Oct 2016 12:57:12 -0400 Subject: [PATCH] Add docs for publishing the playground --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 9a6ec8035..51902d448 100644 --- a/README.md +++ b/README.md @@ -111,5 +111,17 @@ npm test npm run coverage ``` +## Publishing to GitHub Pages +```bash +npm run deploy +``` + +This will push the currently built playground to the gh-pages branch of the +currently tracked remote. If you would like to change where to push to, add +a repo url argument: +```bash +npm run deploy -- -r <your repo url> +``` + ## Donate We provide [Scratch](https://scratch.mit.edu) free of charge, and want to keep it that way! Please consider making a [donation](https://secure.donationpay.org/scratchfoundation/) to support our continued engineering, design, community, and resource development efforts. Donations of any size are appreciated. Thank you!