Skip to content

Commit

Permalink
Add make deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed Jan 23, 2017
1 parent f1af34d commit 96c7593
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 106 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
deploy_key
deploy_key.pub
url.html
deploy.sh
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ env:
- DEPLOY_USER="annevankesteren"

script:
- bash ./deploy.sh
- curl --remote-name https://resources.whatwg.org/build/deploy.sh && bash ./deploy.sh

notifications:
email:
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ local: url.bs

remote: url.bs
curl https://api.csswg.org/bikeshed/ -f -F [email protected] > url.html -F md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"

deploy: url.bs
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh && bash ./deploy.sh --local
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ If you want to preview the spec locally, you can either use a locally installed
running `make remote`.

If you want to do a complete "local deploy" including commit and/or branch snapshots, run

```
./deploy.sh --local
```
`make deploy`.

### Merge policy

Expand Down
101 changes: 0 additions & 101 deletions deploy.sh

This file was deleted.

0 comments on commit 96c7593

Please sign in to comment.