Skip to content

Commit

Permalink
Don't deploy broken spec builds
Browse files Browse the repository at this point in the history
Uses new technology from speced/bikeshed#395
  • Loading branch information
domenic committed May 18, 2015
1 parent d948d44 commit 8ce6503
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ echo ""
# Commit snapshot
COMMIT_DIR=$WEB_ROOT/$COMMITS_DIR/$SHA
mkdir -p $COMMIT_DIR
curl https://api.csswg.org/bikeshed/ -F file=@index.bs -F md-status=LS-COMMIT \
curl https://api.csswg.org/bikeshed/ -f -F file=@index.bs -F md-status=LS-COMMIT \
-F md-warning="Commit $SHA $COMMIT_URL_BASE$SHA replaced by $LS_URL" \
-F md-title="Streams Standard (Commit Snapshot $SHA)" \
-F md-Text-Macro="SNAPSHOT-LINK $BACK_TO_LS_LINK" \
Expand All @@ -61,7 +61,7 @@ if [ $BRANCH != "master" ] ; then
# Branch snapshot, if not master
BRANCH_DIR=$WEB_ROOT/$BRANCHES_DIR/$BRANCH
mkdir -p $BRANCH_DIR
curl https://api.csswg.org/bikeshed/ -F file=@index.bs -F md-status=LS-BRANCH \
curl https://api.csswg.org/bikeshed/ -f -F file=@index.bs -F md-status=LS-BRANCH \
-F md-warning="Branch $BRANCH $BRANCH_URL_BASE$BRANCH replaced by $LS_URL" \
-F md-title="Streams Standard (Branch Snapshot $BRANCH)" \
-F md-Text-Macro="SNAPSHOT-LINK $SNAPSHOT_LINK" \
Expand All @@ -71,7 +71,7 @@ if [ $BRANCH != "master" ] ; then
echo "Branch snapshot output to $WEB_ROOT/$BRANCHES_DIR/$BRANCH"
else
# Living standard, if master
curl https://api.csswg.org/bikeshed/ -F file=@index.bs \
curl https://api.csswg.org/bikeshed/ -f -F file=@index.bs \
-F md-Text-Macro="SNAPSHOT-LINK $SNAPSHOT_LINK" \
> $WEB_ROOT/index.html
npm run ecmarkupify $WEB_ROOT/index.html $WEB_ROOT/index.html
Expand Down

0 comments on commit 8ce6503

Please sign in to comment.