Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
45e81140
Unverified
Commit
45e81140
authored
Jan 30, 2018
by
Ian Hickson
Committed by
GitHub
Jan 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Actually update docs on dev branch (#14357)
parent
6e87292b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
docs.sh
dev/bots/docs.sh
+6
-1
No files found.
dev/bots/docs.sh
View file @
45e81140
#!/bin/bash
set
-e
echo
"Running docs.sh"
# If you want to run this script locally, make sure you run it from
# the root of the flutter repository.
export
FLUTTER_ROOT
=
"
$PWD
"
...
...
@@ -32,10 +34,12 @@ cp dev/docs/google2ed1af765c529f57.html dev/docs/doc
# Upload new API docs when on Travis
if
[
"
$TRAVIS_PULL_REQUEST
"
==
"false"
]
;
then
if
[
"
$TRAVIS_BRANCH
"
==
"master"
-o
"
$TRAVIS_BRANCH
"
==
"alpha"
]
;
then
echo
"This is not a pull request; considering whether to upload docs... (branch=
$TRAVIS_BRANCH
)"
if
[
"
$TRAVIS_BRANCH
"
==
"master"
-o
"
$TRAVIS_BRANCH
"
==
"dev"
]
;
then
cd
dev/docs
if
[
"
$TRAVIS_BRANCH
"
==
"master"
]
;
then
echo
"Updating master docs: https://master-docs-flutter-io.firebaseapp.com/"
echo
-e
"User-agent: *
\n
Disallow: /"
>
doc/robots.txt
while
:
;
do
firebase deploy
--project
master-docs-flutter-io
&&
break
...
...
@@ -45,6 +49,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
fi
if
[
"
$TRAVIS_BRANCH
"
==
"dev"
]
;
then
echo
"Updating dev docs: https://docs.flutter.io/"
while
:
;
do
firebase deploy
--project
docs-flutter-io
&&
break
echo
Error: Unable to deploy documentation to firebase. Retrying
in
five seconds...
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment