Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/actions/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ children:
- /workflows-and-actions
- /runners
- /security
- /use-cases
- /about-github-actions-metrics
redirect_from:
- /actions/concepts/use-cases
---

This file was deleted.

14 changes: 0 additions & 14 deletions content/actions/concepts/use-cases/index.md

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ redirect_from:
- /actions/using-workflows/advanced-workflow-features
- /actions/using-workflows/about-workflows
- /actions/writing-workflows/about-workflows
- /actions/concepts/use-cases/using-github-actions-for-project-management
topics:
- Workflows
layout: inline
Expand Down
6 changes: 3 additions & 3 deletions content/actions/how-tos/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: How-tos for GitHub Actions
shortTitle: How-tos
intro: "Learn how to accomplish specific goals with GitHub Actions."
intro: Learn how to accomplish specific goals with GitHub Actions.
versions:
fpt: '*'
ghes: '*'
Expand All @@ -15,6 +15,6 @@ children:
- /hosting-your-own-runners
- /security-for-github-actions
- /use-cases-and-examples
- /migrating-to-github-actions
- /administering-github-actions
---
---

4 changes: 2 additions & 2 deletions content/actions/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ featuredLinks:
- /actions/how-tos/writing-workflows
- /actions/how-tos/use-cases-and-examples
- /actions/concepts/overview/continuous-integration
- /actions/concepts/use-cases/deploying-with-github-actions
- /actions/concepts/use-cases/about-packaging-with-github-actions
- /actions/tutorials/deploying-with-github-actions
- /packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions
- /actions/how-tos/monitoring-and-troubleshooting-workflows
guideCards:
- /actions/how-tos/writing-workflows/using-workflow-templates
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ shortTitle: Extending GitHub Actions Importer
redirect_from:
- /actions/migrating-to-github-actions/automated-migrations/extending-github-actions-importer-with-custom-transformers
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/extending-github-actions-importer-with-custom-transformers
---

[Legal notice](#legal-notice)
Expand Down
2 changes: 2 additions & 0 deletions content/actions/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ children:
- /self-hosted-runners-reference
- /usage-limits-for-self-hosted-runners
- /supplemental-arguments-and-settings
- /extending-github-actions-importer-with-custom-transformers
---

Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
title: About service containers
intro: 'You can use service containers to connect databases, web services, memory caches, and other tools to your workflow.'
title: Communicating with Docker service containers
shortTitle: Docker service containers
intro: Learn how to use Docker service containers to connect databases, web services, memory caches, and other tools to your workflow.
redirect_from:
- /actions/automating-your-workflow-with-github-actions/about-service-containers
- /actions/configuring-and-managing-workflows/about-service-containers
- /actions/guides/about-service-containers
- /actions/using-containerized-services/about-service-containers
- /actions/use-cases-and-examples/using-containerized-services/about-service-containers
- /actions/concepts/use-cases/about-service-containers
versions:
fpt: '*'
ghes: '*'
Expand All @@ -17,18 +19,14 @@ topics:
- Docker
---

{% data reusables.actions.enterprise-github-hosted-runners %}

## About service containers
## Communicating with Docker service containers

Service containers are Docker containers that provide a simple and portable way for you to host services that you might need to test or operate your application in a workflow. For example, your workflow might need to run integration tests that require access to a database and memory cache.

You can configure service containers for each job in a workflow. {% data variables.product.prodname_dotcom %} creates a fresh Docker container for each service configured in the workflow, and destroys the service container when the job completes. Steps in a job can communicate with all service containers that are part of the same job. However, you cannot create and use service containers inside a composite action.

{% data reusables.actions.docker-container-os-support %}

## Communicating with service containers

You can configure jobs in a workflow to run directly on a runner machine or in a Docker container. Communication between a job and its service containers is different depending on whether a job runs directly on the runner machine or in a container.

### Running jobs in a container
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Deploying with GitHub Actions
shortTitle: Controlling deployments
intro: Learn how to control deployments with features like environments and concurrency.
versions:
fpt: '*'
Expand All @@ -10,24 +11,12 @@ redirect_from:
- /actions/deployment/deploying-with-github-actions
- /actions/deployment/about-deployments/deploying-with-github-actions
- /actions/use-cases-and-examples/deploying/deploying-with-github-actions
- /actions/concepts/use-cases/deploying-with-github-actions
topics:
- CD
- Deployment
shortTitle: Deploy with GitHub Actions
---

{% data reusables.actions.enterprise-github-hosted-runners %}

## Introduction

{% data variables.product.prodname_actions %} offers features that let you control deployments. You can:

* Trigger workflows with a variety of events.
* Configure environments to set rules before a job can proceed and to limit access to secrets.
* Use concurrency to control the number of deployments running at a time.

For more information about continuous deployment, see [AUTOTITLE](/actions/deployment/about-deployments/about-continuous-deployment).

## Prerequisites

You should be familiar with the syntax for {% data variables.product.prodname_actions %}. For more information, see [AUTOTITLE](/actions/learn-github-actions).
Expand Down
6 changes: 5 additions & 1 deletion content/actions/tutorials/index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
---
title: Tutorials for GitHub Actions
shortTitle: Tutorials
intro: "Build skills and knowledge about GitHub Actions through hands-on activities."
intro: Build skills and knowledge about GitHub Actions through hands-on activities.
versions:
fpt: '*'
ghes: '*'
ghec: '*'
children:
- /migrating-to-github-actions
- /creating-an-example-workflow
- /creating-a-docker-container-action
- /creating-a-javascript-action
- /creating-a-composite-action
- /quickstart-for-actions-runner-controller
- /deploying-with-github-actions
- /communicating-with-docker-service-containers
redirect_from:
- /actions/guides
---

Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ versions:
redirect_from:
- /articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax
- /actions/migrating-to-github-actions
- /actions/how-tos/migrating-to-github-actions
children:
- /using-github-actions-importer-to-automate-migrations
- /manually-migrating-to-github-actions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ children:
redirect_from:
- /actions/migrating-to-github-actions/manual-migrations
- /actions/migrating-to-github-actions/manually-migrating-to-github-actions
- /actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions
---

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /actions/migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions
- /actions/migrating-to-github-actions/manual-migrations/migrating-from-azure-pipelines-to-github-actions
- /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions
- /actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-azure-pipelines-to-github-actions
versions:
fpt: '*'
ghes: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /actions/migrating-to-github-actions/migrating-from-circleci-to-github-actions
- /actions/migrating-to-github-actions/manual-migrations/migrating-from-circleci-to-github-actions
- /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions
- /actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-circleci-to-github-actions
versions:
fpt: '*'
ghes: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /actions/migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions
- /actions/migrating-to-github-actions/manual-migrations/migrating-from-gitlab-cicd-to-github-actions
- /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions
- /actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-gitlab-cicd-to-github-actions
versions:
fpt: '*'
ghes: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /actions/migrating-to-github-actions/migrating-from-jenkins-to-github-actions
- /actions/migrating-to-github-actions/manual-migrations/migrating-from-jenkins-to-github-actions
- /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions
- /actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-jenkins-to-github-actions
versions:
fpt: '*'
ghes: '*'
Expand Down Expand Up @@ -64,7 +65,7 @@ Jenkins uses directives to manage _Declarative Pipelines_. These directives defi
| ------------- | ------------- |
| [`environment`](https://jenkins.io/doc/book/pipeline/syntax/#environment) | [`jobs.<job_id>.env`](/actions/using-workflows/workflow-syntax-for-github-actions#env) <br> [`jobs.<job_id>.steps[*].env`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsenv) |
| [`options`](https://jenkins.io/doc/book/pipeline/syntax/#options) | [`jobs.<job_id>.strategy`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategy) <br> [`jobs.<job_id>.strategy.fail-fast`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast) <br> [`jobs.<job_id>.timeout-minutes`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idtimeout-minutes) |
| [`parameters`](https://jenkins.io/doc/book/pipeline/syntax/#parameters) | [`inputs`](/actions/creating-actions/metadata-syntax-for-github-actions#inputs) <br> [`outputs`](/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions) |
| [`parameters`](https://jenkins.io/doc/book/pipeline/syntax/#options) | [`inputs`](/actions/creating-actions/metadata-syntax-for-github-actions#inputs) <br> [`outputs`](/actions/creating-actions/metadata-syntax-for-github-actions#outputs-for-docker-container-and-javascript-actions) |
| [`triggers`](https://jenkins.io/doc/book/pipeline/syntax/#triggers) | [`on`](/actions/using-workflows/workflow-syntax-for-github-actions#on) <br> [`on.<event_name>.types`](/actions/using-workflows/workflow-syntax-for-github-actions#onevent_nametypes) <br> [<code>on.<push\>.<branches\|tags></code>](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushbranchestagsbranches-ignoretags-ignore) <br> [<code>on.<pull_request\>.<branches\></code>](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpull_requestpull_request_targetbranchesbranches-ignore) <br> [<code>on.<push\|pull_request>.paths</code>](/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore) |
| [`triggers { upstreamprojects() }`](https://jenkins.io/doc/book/pipeline/syntax/#triggers) | [`jobs.<job_id>.needs`](/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds) |
| [Jenkins cron syntax](https://jenkins.io/doc/book/pipeline/syntax/#cron-syntax) | [`on.schedule`](/actions/using-workflows/workflow-syntax-for-github-actions#onschedule) |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ redirect_from:
- /actions/migrating-to-github-actions/migrating-from-travis-ci-to-github-actions
- /actions/migrating-to-github-actions/manual-migrations/migrating-from-travis-ci-to-github-actions
- /actions/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions
- /actions/how-tos/migrating-to-github-actions/manually-migrating-to-github-actions/migrating-from-travis-ci-to-github-actions
versions:
fpt: '*'
ghes: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ redirect_from:
- /actions/migrating-to-github-actions/automating-migration-with-github-actions-importer
- /actions/migrating-to-github-actions/automated-migrations/automating-migration-with-github-actions-importer
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/automating-migration-with-github-actions-importer
versions:
fpt: '*'
ghec: '*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ versions:
ghec: '*'
children:
- /automating-migration-with-github-actions-importer
- /extending-github-actions-importer-with-custom-transformers
- /migrating-from-azure-devops-with-github-actions-importer
- /migrating-from-bamboo-with-github-actions-importer
- /migrating-from-bitbucket-pipelines-with-github-actions-importer
Expand All @@ -19,5 +18,6 @@ children:
redirect_from:
- /actions/migrating-to-github-actions/automated-migrations
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations
---

Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ shortTitle: Azure DevOps migration
redirect_from:
- /actions/migrating-to-github-actions/automated-migrations/migrating-from-azure-devops-with-github-actions-importer
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-azure-devops-with-github-actions-importer
---

[Legal notice](#legal-notice)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ shortTitle: Bamboo migration
redirect_from:
- /actions/migrating-to-github-actions/automated-migrations/migrating-from-bamboo-with-github-actions-importer
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bamboo-with-github-actions-importer
---

[Legal notice](#legal-notice)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ shortTitle: Bitbucket Pipelines migration
redirect_from:
- /actions/migrating-to-github-actions/automated-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-bitbucket-pipelines-with-github-actions-importer
---

[Legal notice](#legal-notice)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ shortTitle: CircleCI migration
redirect_from:
- /actions/migrating-to-github-actions/automated-migrations/migrating-from-circleci-with-github-actions-importer
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-circleci-with-github-actions-importer
---

[Legal notice](#legal-notice)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ shortTitle: GitLab migration
redirect_from:
- /actions/migrating-to-github-actions/automated-migrations/migrating-from-gitlab-with-github-actions-importer
- /actions/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer
- /actions/how-tos/migrating-to-github-actions/using-github-actions-importer-to-automate-migrations/migrating-from-gitlab-with-github-actions-importer
---

[Legal notice](#legal-notice)
Expand Down
Loading
Loading