Skip to content

Commit e3a24de

Browse files
committed
[x/blog] blog: update README.md for new cloud build process
Change-Id: I270365170c5871526901df519bba9d5b3819fae3 Reviewed-on: https://go-review.googlesource.com/c/blog/+/321670 Trust: Russ Cox <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> X-Blog-Commit: d7632d2bbca5e02e40264009bacd9496de5f43c5
1 parent 9a732f1 commit e3a24de

File tree

1 file changed

+19
-10
lines changed

1 file changed

+19
-10
lines changed

blog/README.md

+19-10
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,27 @@ subject line, so it is easy to find.
4343

4444
## Deploying
4545

46-
1. To deploy blog.golang.org, run:
46+
The Google Cloud project triggers a fresh deploy of the blog on each submit
47+
but that deployment is published to a temporary URL.
4748

48-
```
49-
GO111MODULE=on gcloud --project=golang-org app deploy --no-promote app.yaml
50-
```
49+
To publish the blog to blog.golang.org, you need access to the
50+
Cloud Console for the golang-org project.
51+
Then:
5152

52-
This will create a new version, which can be viewed within the
53-
[golang-org GCP project](https://console.cloud.google.com/appengine/versions?project=golang-org&serviceId=blog).
53+
1. Visit the
54+
[builds list](https://console.cloud.google.com/cloud-build/builds?project=golang-org&query=trigger_id%3D%22c99674d3-32c1-4aec-ade4-ae2d5a844369%22.)
55+
and click on the build hash for the most recent build
56+
with trigger name “Redeploy-blog-on-blog-commit”.
5457

55-
2. Check that the deployed version looks OK (click the version link in GCP).
58+
Scrolling to the bottom of the build log, you will find a URL in a log message like
5659

57-
3. If all is well, click "Migrate Traffic" to move 100% of the blog.golang.org
58-
traffic to the new version.
60+
Deployed service [blog] to [https://TEMPORARYURL.appspot.com]
5961

60-
4. You're done.
62+
2. Copy that URL and load it in your browser. Check that it looks OK.
63+
64+
3. Assuming it does, visit the
65+
[AppEngine versions list](https://console.cloud.google.com/appengine/versions?project=golang-org&serviceId=blog).
66+
Click “Migrate Traffic” on the new entry to move 100% of the blog.golang.org
67+
traffic to the new version.
68+
69+
4. You're done.

0 commit comments

Comments
 (0)