Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused file, update README #134

Merged
merged 1 commit into from
Jan 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Flutter][]'s website

Designed to run in GitHub pages.
Flutter's static website, built with Jekyll.

[![Build Status](https://travis-ci.org/flutter/flutter.github.io.svg?branch=master)](https://travis-ci.org/flutter/flutter.github.io)

Expand All @@ -25,10 +25,12 @@ The code snippets in the markdown documentation are validated as part of the
build process. Anything within a '\`\`\`dart' code fence will be extracted into
its own file and checked for analysis issues. Some ways to tweak that:

- if a code snippet should not be analyzed, immediately proceed it with a `<!-- skip -->` comment
- if a code snippet should not be analyzed, immediately proceed it with
a `<!-- skip -->` comment
- to include code to be analyzed, but not displayed, add that in a comment
immediately proceeding the snippet (e.g., `<!-- someCodeHere(); -->`)
- a snippet without any import statements will have an import (`'package:flutter/material.dart'`)
- a snippet without any import statements will have an import
(`'package:flutter/material.dart'`)
automatically added to it

[Flutter]: http://flutter.io
[Flutter]: https://flutter.io
13 changes: 8 additions & 5 deletions tool/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ bundle install
echo "Building site."
bundle exec jekyll build -d build

echo "Deploying to Firebase."

npm install -g firebase-tools
firebase deploy --token "$FIREBASE_TOKEN"

if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
if [ "$TRAVIS_BRANCH" = "master" ]; then
echo "Deploying to Firebase."

npm install -g firebase-tools
firebase deploy --token "$FIREBASE_TOKEN"
fi
fi