Skip to content

Commit 49038b1

Browse files
authored
Update deploy script to publish to flutter.dev (#2407)
* Updated firebase project for publishing to .dev domain * Include redirect for YouTube channel. * Update API URL * youtube hosting change * Update firebase.json * new firebase hosting project for .dev * Revert the API docs url change * Fix hard reference to local domain.
1 parent 605f59c commit 49038b1

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

.firebaserc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"projects": {
3-
"default": "sweltering-fire-2088",
3+
"default": "firebase-dev-230821",
4+
"flutter-dev": "firebase-dev-230821",
45
"flutter-io": "sweltering-fire-2088",
56
"staging-1": "flutter-io-staging-1",
67
"staging-2": "flutter-io-staging-2",

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Flutter
33
# description: TBC
44
email: flutter-dev@googlegroups.com
5-
url: https://flutter.io
5+
url: https://flutter.dev
66
port: 4002
77
github_username: flutter
88
repo:

firebase.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@
102102
{ "source": "/web-analogs", "destination": "/docs/get-started/flutter-for/web-devs", "type": 301 },
103103
{ "source": "/widgets", "destination": "/docs/development/ui/widgets/catalog", "type": 301 },
104104
{ "source": "/widgets/:rest*", "destination": "/docs/development/ui/widgets/:rest*", "type": 301 },
105-
{ "source": "/widgets-intro", "destination": "/docs/development/ui/widgets-intro", "type": 301 }
105+
{ "source": "/widgets-intro", "destination": "/docs/development/ui/widgets-intro", "type": 301 },
106+
{ "source": "/youtube", "destination": "https://youtube.com/flutterdev", "type": 301 }
106107
]
107108
}
108109
}

src/docs/development/tools/vs-code.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,6 @@ Prior to filing new issues:
229229
When filing new issues, include [flutter doctor][] output.
230230

231231
[Command Palette]: https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette
232-
[flutter doctor]: {{site.url}}/bug-reports/#provide-some-flutter-diagnostics
232+
[flutter doctor]: /docs/resources/bug-reports/#provide-some-flutter-diagnostics
233233
[let us know]: {{site.github}}/flutter/website/issues/new
234234
[Dart and Flutter extensions GitHub issue tracker]: {{site.github}}/Dart-Code/Dart-Code/issues

tool/build_check_deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ fi
209209
# Deploy on all non-PR master branch builds.
210210
if [[ -z "$CIRRUS_PR" && "$CIRRUS_BRANCH" == "master" ]]; then
211211
echo "Deploying website to Firebase:"
212-
deploy 5 sweltering-fire-2088
212+
deploy 5 flutter-dev-230821
213213
echo "SUCCESS: Website deployed"
214214
fi
215215

0 commit comments

Comments
 (0)