@@ -43,18 +43,27 @@ subject line, so it is easy to find.
43
43
44
44
## Deploying
45
45
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.
47
48
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:
51
52
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”.
54
57
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
56
59
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]
59
61
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