зеркало из https://github.com/github/docs.git
repo sync
This commit is contained in:
Коммит
f38432db4e
|
@ -37,7 +37,7 @@ The time required to failover depends on how long it takes to manually promote t
|
|||
```
|
||||
- On the new primary, remove the UUIDs using `ghe-repl-teardown`. Please replace *`UUID`* with a UUID you retrieved in the previous step.
|
||||
```shell
|
||||
$ ghe-repl-teardown -u <em>UUNID</em>
|
||||
$ ghe-repl-teardown -u <em>UUID</em>
|
||||
```
|
||||
|
||||
### Further reading
|
||||
|
|
|
@ -131,14 +131,10 @@ To publish multiple packages to the same repository, you can include the URL of
|
|||
|
||||
To ensure the repository's URL is correct, replace REPOSITORY with the name of the repository containing the package you want to publish, and OWNER with the name of the user or organization account on {% data variables.product.prodname_dotcom %} that owns the repository.
|
||||
|
||||
{% data variables.product.prodname_registry %} will match the repository based on the URL, instead of based on the package name. If you store the *package.json* file outside the root directory of your repository, you can use the `directory` field to specify the location where {% data variables.product.prodname_registry %} can find the *package.json* files.
|
||||
{% data variables.product.prodname_registry %} will match the repository based on the URL, instead of based on the package name.
|
||||
|
||||
```shell
|
||||
"repository" : {
|
||||
"type" : "git",
|
||||
"url": "ssh://git@{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}<em>HOSTNAME</em>{% endif %}/<em>OWNER</em>/<em>REPOSITORY</em>.git",
|
||||
"directory": "packages/name"
|
||||
},
|
||||
"repository":"https://{% if currentVersion == "free-pro-team@latest" %}github.com{% else %}<em>HOSTNAME</em>{% endif %}/<em>OWNER</em>/<em>REPOSITORY</em>",
|
||||
```
|
||||
|
||||
### Installing a package
|
||||
|
|
Загрузка…
Ссылка в новой задаче