Skip to content

Commit 4f428f9

Browse files
committed
Update GitBook release instructions
1 parent cefd1f9 commit 4f428f9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/book/RELEASE

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
To push the docs run:
22

3+
Configure kubectl to talk to the kubebuilder "docs" GKE cluster.
4+
5+
- export IMAGE=gcr.io/kubebuilder/book:v<number>
36
- gitbook build
4-
- docker build . -t gcr.io/kubebuilder/book
5-
- docker push gcr.io/kubebuilder/book
6-
- kubectl delete pods -l run=gitbook-prod
7+
- docker build . -t $IMAGE
8+
- docker push $IMAGE
9+
- kubectl set image deployment gitbook-prod *=$IMAGE

0 commit comments

Comments
 (0)