This commit is contained in:
Octomerger Bot 2020-12-03 19:27:37 -08:00 коммит произвёл GitHub
Родитель 171b0a0055 12807481a8
Коммит f38432db4e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 3 добавлений и 7 удалений

Просмотреть файл

@ -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