diff --git a/.gitignore b/.gitignore index cb01c39..60b66a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ node_modules .DS_Store /compat.spec.whatwg.org/ +deploy.sh deploy_key deploy_key.pub compatibility.html diff --git a/Makefile b/Makefile index 9a1fe7a..b621792 100644 --- a/Makefile +++ b/Makefile @@ -3,3 +3,6 @@ local: compatibility.bs remote: compatibility.bs curl https://api.csswg.org/bikeshed/ -f -F file=@compatibility.bs > compatibility.html -F md-Text-Macro="SNAPSHOT-LINK LOCAL COPY" + +deploy: compatibility.bs + curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh && bash ./deploy.sh diff --git a/README.md b/README.md index ef94e12..f5bc524 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,11 @@ running `make remote`. If you want to do a complete "local deploy" including commit and/or branch snapshots, run ``` -./deploy.sh --local +make deploy ``` +Note that this still requires access to the network. + Run the following steps to enable fancy-mode (which will run `make` every time `compatibility.bs` is changed on the filesystem). Step 0. Install Node.js and npm