You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-20Lines changed: 7 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,26 +32,13 @@ Then open: <http://localhost:3000>
32
32
The openUC2 docs site has three GitHub Pages deployments, each with its own repository:
33
33
34
34
- development/edge release channel: the `master` branch of [openUC2/docs](https://github.com/openUC2/docs); deploys to [docs-dev.openuc2.com](https://docs-dev.openuc2.com).
35
-
- staging/beta release channel: the `deploy` branch of [openUC2/docs-staging](https://github.com/openUC2/docs-staging); deploys to [docs-staging.openuc2.com](https://docs-staging.openuc2.com)
36
-
- prod/stable release channel: the `deploy` branch of [openUC2/docs-prod](https://github.com/openUC2/docs-prod); deploys to [docs.openuc2.com](https://docs.openuc2.com).
37
-
38
-
To set up a local development environment which can deploy to all three channels, run:
- staging/beta release channel: the `staging` branch of openUC2/docs; automatically mirrored to the `deploy` branch of [openUC2/docs-staging](https://github.com/openUC2/docs-staging), which deploys to [docs-staging.openuc2.com](https://docs-staging.openuc2.com)
36
+
- prod/stable release channel: the `prod` branch of openUC2/docs; automatically mirrored to the `deploy` branch of [openUC2/docs-prod](https://github.com/openUC2/docs-prod), which deploys to [docs.openuc2.com](https://docs.openuc2.com).
51
37
52
-
Then you can fast-forward your local `deploy/staging` and `deploy/prod` branches to the desired commits on your local `master` branch, and you can deploy changes to the staging and prod release channels by pushing your updated local `deploy/staging` and `deploy/prod` branches, respectively, up to GitHub.
38
+
After cloning the openUC2/docs repo, then you can fast-forward your local `staging` and `prod` branches to the desired commits on your local `master` branch.
39
+
Then you can deploy changes to the staging and prod release channels by pushing your updated local `staging` and `prod` branches, respectively, up to the openUC2/docs repository.
53
40
The deployment process should usually be done as follows:
54
41
55
-
1. Fast-forward the `deploy` branch of the `docs-staging` repo to whichever commit of the `docs` repo that we want to publish.
56
-
2.Look at `docs-staging.openuc2.com` and fix any problems.
57
-
3. Once the version in the `docs-staging` repo is stable and mature enough for publication, fast-forward the `deploy` branch of the `docs-prod` repo to the publication-ready commit of the `docs-staging`repo.
42
+
1. Fast-forward the `staging` branch of the openUC2/docs repo to whichever commit of the `master` branch that we want to publish.
43
+
2.Wait for it to build and deploy, then look at `docs-staging.openuc2.com` and fix any problems.
44
+
3. Once the version in the `docs-staging` repo is stable and mature enough for publication, fast-forward the `prod` branch of the openUC2/docs repo to the publication-ready commit of the `staging`branch.
0 commit comments