Skip to content

Commit a0c3cec

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents e12d5d9 + da60aa5 commit a0c3cec

File tree

14 files changed

+206
-41
lines changed

14 files changed

+206
-41
lines changed
61.2 KB
Binary file not shown.
Binary file not shown.
59.5 KB
Binary file not shown.
59.5 KB
Binary file not shown.

content/actions/index.md

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22
title: GitHub Actions Documentation
33
shortTitle: GitHub Actions
44
intro: 'Automate, customize, and execute your software development workflows right in your repository with {% data variables.product.prodname_actions %}. You can discover, create, and share actions to perform any job you''d like, including CI/CD, and combine actions in a completely customized workflow.'
5+
introLinks:
6+
quickstart: /actions/quickstart
7+
learn: /actions/learn-github-actions
58
gettingStartedLinks:
6-
- /actions/quickstart
7-
- /actions/learn-github-actions
8-
guideLinks:
99
- /actions/managing-workflow-runs
1010
- /actions/hosting-your-own-runners
11+
guideLinks:
12+
- /actions/guides/setting-up-continuous-integration-using-workflow-templates
13+
- /actions/guides/about-packaging-with-github-actions
1114
popularLinks:
1215
- /actions/reference/workflow-syntax-for-github-actions
1316
- /actions/reference/events-that-trigger-workflows
@@ -36,10 +39,10 @@ versions:
3639
<div class="d-lg-flex gutter my-6 py-6">
3740
<div class="col-12 col-lg-4 mb-4 mb-lg-0">
3841
<div class="featured-links-heading pb-4">
39-
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.getting_started %}</h3>
42+
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">{% data ui.toc.guides %}</h3>
4043
</div>
4144
<ul class="list-style-none">
42-
{% for link in gettingStartedLinks %}
45+
{% for link in guideLinks %}
4346
<li>{% include featured-link %}</li>
4447
{% endfor %}
4548
</ul>
@@ -61,40 +64,16 @@ versions:
6164
<h3 class="f5 text-normal text-mono underline-dashed color-gray-5">Manage workflows</h3>
6265
</div>
6366
<ul class="list-style-none">
64-
{% for link in guideLinks %}
67+
{% for link in gettingStartedLinks %}
6568
<li>{% include featured-link %}</li>
6669
{% endfor %}
6770
</ul>
6871
</div>
6972
</div>
70-
<!-- Featured resources -->
71-
<div class="d-lg-flex gutter-lg my-6 py-6 text-center flex-items-stretch">
72-
<div class="col-12 col-lg-4 mb-2 mb-lg-0">
73-
<a href="/actions/creating-actions" class="d-block text-gray-dark no-underline hover-grow Box p-5 bg-gray-light">
74-
<div class="mb-4 d-flex flex-justify-center"><div class="circle p-3 bg-blue text-white">{% octicon "bookmark" width="24" %}</div></div>
75-
<h4>Create actions</h4>
76-
<p class="mb-0">A complete guide to creating and sharing actions with the community.</p>
77-
</a>
78-
</div>
79-
<div class="col-12 col-lg-4 mb-2 mb-lg-0">
80-
<a href="https://github.com/actions/starter-workflows" class="d-block text-gray-dark no-underline hover-grow Box p-5 bg-gray-light">
81-
<div class="mb-4 d-flex flex-justify-center"><div class="circle p-3 bg-purple text-white">{% octicon "rocket" width="24" %}</div></div>
82-
<h4>Starter workflows</h4>
83-
<p class="mb-0">A collection of workflow files to help you get started with GitHub Actions.</p>
84-
</a>
85-
</div>
86-
<div class="col-12 col-lg-4 mb-2 mb-lg-0">
87-
<a href="https://github.com/marketplace?type=actions" class="d-block text-gray-dark no-underline hover-grow Box p-5 bg-gray-light">
88-
<div class="mb-4 d-flex flex-justify-center"><div class="circle p-3 bg-orange text-white">{% octicon "light-bulb" width="24" %}</div></div>
89-
<h4>GitHub Actions Marketplace</h4>
90-
<p class="mb-0">Explore community actions and supercharge your workflow.</p>
91-
</a>
92-
</div>
93-
</div>
9473

9574
<!-- Code examples -->
9675
<div class="mt-6 pt-6">
97-
<h2 class="mb-2">Guides</h2>
76+
<h2 class="mb-2">More guides</h2>
9877

9978
<div class="d-flex flex-wrap gutter">
10079
<div class="col-12 col-lg-4 mb-4">
@@ -195,5 +174,5 @@ versions:
195174
</div>
196175
</div>
197176

198-
<a href="/actions/guides" class="btn btn-outline mt-4">More guides {% octicon "arrow-right" %}</a>
177+
<a href="/actions/guides" class="btn btn-outline mt-4">Show all guides {% octicon "arrow-right" %}</a>
199178
</div>

content/admin/enterprise-management/upgrade-requirements.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ versions:
2121

2222
### Recommendations
2323

24-
- Include as few upgrades as possible in your upgrade process. For example, instead of upgrading from {% data variables.product.prodname_enterprise %} {{ enterpriseVersions.supported[2] }} to {{ enterpriseVersions.supported[1] }} to {{ enterpriseVersions.latest }}, you could upgrade from {% data variables.product.prodname_enterprise %} {{ enterpriseVersions.supported[2] }} to {{ enterpriseVersions.latest }}.
24+
- Include as few upgrades as possible in your upgrade process. For example, instead of upgrading from {% data variables.product.prodname_enterprise %} {{ enterpriseServerReleases.supported[2] }} to {{ enterpriseServerReleases.supported[1] }} to {{ enterpriseServerReleases.latest }}, you could upgrade from {% data variables.product.prodname_enterprise %} {{ enterpriseServerReleases.supported[2] }} to {{ enterpriseServerReleases.latest }}.
2525
- If you’re several versions behind, upgrade {% data variables.product.product_location_enterprise %} as far forward as possible with each step of your upgrade process. Using the latest version possible on each upgrade allows you to take advantage of performance improvements and bug fixes. For example, you could upgrade from {% data variables.product.prodname_enterprise %} 2.7 to 2.8 to 2.10, but upgrading from {% data variables.product.prodname_enterprise %} 2.7 to 2.9 to 2.10 uses a later version in the second step.
2626
- Use the latest patch release when upgrading. {% data reusables.enterprise_installation.enterprise-download-upgrade-pkg %}
2727
- Use a staging instance to test the upgrade steps. For more information, see "[Setting up a staging instance](/enterprise/{{ currentVersion }}/admin/guides/installation/setting-up-a-staging-instance/)."
2828
- When running multiple upgrades, wait at least 24 hours between feature upgrades to allow data migrations and backgrounded upgrade tasks to fully complete.
2929

3030
### Requirements
3131

32-
- You must upgrade from a feature release that's **at most** two releases behind. For example, to upgrade to {% data variables.product.prodname_enterprise %} {{ enterpriseVersions.latest }}, you must be on {% data variables.product.prodname_enterprise %} {{ enterpriseVersions.supported[1] }} or {{ enterpriseVersions.supported[2] }}.
32+
- You must upgrade from a feature release that's **at most** two releases behind. For example, to upgrade to {% data variables.product.prodname_enterprise %} {{ enterpriseServerReleases.latest }}, you must be on {% data variables.product.prodname_enterprise %} {{ enterpriseServerReleases.supported[1] }} or {{ enterpriseServerReleases.supported[2] }}.
3333
- {% data reusables.enterprise_installation.hotpatching-explanation %}
3434
- A hotpatch may require downtime if the affected services (like kernel, MySQL, or Elasticsearch) require a VM reboot or a service restart. You'll be notified when a reboot or restart is required. You can complete the reboot or restart at a later time.
3535
- Additional root storage must be available when upgrading through hotpatching, as it installs multiple versions of certain services until the upgrade is complete. Pre-flight checks will notify you if you don't have enough root disk storage.

includes/error-404-deprecation-message.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% if enterpriseVersions.deprecated contains currentVersion %}
2-
{% assign deprecatedDate = enterpriseVersions.dates[currentVersion].deprecationDate %}
1+
{% if enterpriseServerReleases.deprecated contains currentVersion %}
2+
{% assign deprecatedDate = enterpriseServerReleases.dates[currentVersion].deprecationDate %}
33
<div class="deprecation-banner border rounded-1 mb-2 bg-yellow-light p-3 border-yellow f5">
44
<p>
55
<b>

layouts/product-landing.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
<header class="d-flex gutter mb-6">
1313
<div class="col-12 col-lg-7">
1414
<span class="text-mono text-gray">Product</span>
15-
<h1 class="mb-3">{{ page.shortTitle }}</h1>
15+
<h1 class="mb-3 font-mktg">{{ page.shortTitle }}</h1>
1616
<div class="lead-mktg text-gray">{{ page.intro }}</div>
1717

18-
<a href="{{ gettingStartedLinks[0].href }}" class="btn btn-large f4 btn-blue mt-3">
18+
<a href="{{ page.introLinks.quickstart }}" class="btn btn-large f4 btn-blue mt-3">
1919
Quickstart
2020
</a>
2121

22-
<a href="{{ gettingStartedLinks[1].href }}" class="ml-3 btn btn-large f4 btn-outline mt-3">
23-
Learn more
22+
<a href="{{ page.introLinks.learn }}" class="ml-3 btn btn-large f4 btn-outline mt-3">
23+
Learn {% data variables.product.prodname_actions %}
2424
</a>
2525
</div>
2626
</header>

lib/frontmatter.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ const schema = {
6363
},
6464
allowTitleToDifferFromFilename: {
6565
type: 'boolean'
66+
},
67+
introLinks: {
68+
type: 'object',
69+
properties: {
70+
quickstart: { type: 'string' },
71+
learn: { type: 'string' }
72+
}
6673
}
6774
}
6875
}

middleware/context.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ module.exports = async function contextualize (req, res, next) {
3434
req.context.query = req.query
3535
req.context.languages = languages
3636
req.context.earlyAccessPaths = earlyAccessPaths
37-
req.context.enterpriseVersions = enterpriseServerReleases
3837
req.context.productNames = productNames
3938
req.context.enterpriseServerReleases = enterpriseServerReleases
39+
req.context.enterpriseServerVersions = Object.keys(allVersions).filter(version => version.startsWith('enterprise-server@'))
4040
req.context.redirects = redirects
4141
req.context.site = site[req.language].site
4242
req.context.siteTree = siteTree

0 commit comments

Comments
 (0)