Change != "free-pro-team@latest" to enterpriseServerVersions contains currentVersion, actually (#16114)
* Run script/new-versioning/update-not-fpt-conditionals.js * Fix a few things * Remove outdated versioning * Fix broken link Co-authored-by: jmarlena <6732600+jmarlena@users.noreply.github.com>
This commit is contained in:
@@ -43,7 +43,7 @@ For more information about how custom domains affect the URL for your site, see
|
||||
|
||||
You can only create one user or organization site for each {% data variables.product.product_name %} account. Project sites, whether owned by an organization or a user account, are unlimited.
|
||||
|
||||
{% if currentVersion != "free-pro-team@latest" %}
|
||||
{% if enterpriseServerVersions contains currentVersion %}
|
||||
The URL where your site is available depends on whether subdomain isolation is enabled for {% data variables.product.product_location %}.
|
||||
|
||||
| Type of site | Subdomain isolation enabled | Subdomain isolation disabled |
|
||||
|
||||
@@ -81,7 +81,7 @@ gem "github-pages", "~> <em>VERSION</em>", group: :jekyll_plugins
|
||||
```
|
||||
10. Save and close the Gemfile.
|
||||
11. Optionally, test your site locally. For more information, see "[Testing your {% data variables.product.prodname_pages %} site locally with Jekyll](/articles/testing-your-github-pages-site-locally-with-jekyll)."
|
||||
12. Add your {% data variables.product.product_name %} repository as a remote, replacing {% if currentVersion != "free-pro-team@latest" %}_HOSTNAME_ with your appliance's hostname,{% endif %} _USER_ with the account that owns the repository{% if currentVersion != "free-pro-team@latest" %},{% endif %} and _REPOSITORY_ with the name of the repository.
|
||||
12. Add your {% data variables.product.product_name %} repository as a remote, replacing {% if enterpriseServerVersions contains currentVersion %}_HOSTNAME_ with your appliance's hostname,{% endif %} _USER_ with the account that owns the repository{% if enterpriseServerVersions contains currentVersion %},{% endif %} and _REPOSITORY_ with the name of the repository.
|
||||
```shell
|
||||
{% if currentVersion == "free-pro-team@latest" %}
|
||||
$ git remote add origin https://github.com/<em>USER</em>/<em>REPOSITORY</em>.git
|
||||
|
||||
Reference in New Issue
Block a user