From 290c3481de3d08ace56b5e2e48eadedb8b67f03b Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Tue, 12 Oct 2021 13:38:50 +1000 Subject: [PATCH 1/2] Fix some more deployment broken links --- .../deployment/deploying-to-amazon-elastic-container-service.md | 2 ++ content/actions/deployment/deploying-to-azure-app-service.md | 2 ++ .../actions/deployment/deploying-to-google-kubernetes-engine.md | 2 ++ 3 files changed, 6 insertions(+) diff --git a/content/actions/deployment/deploying-to-amazon-elastic-container-service.md b/content/actions/deployment/deploying-to-amazon-elastic-container-service.md index fab21473f7..b4163703ef 100644 --- a/content/actions/deployment/deploying-to-amazon-elastic-container-service.md +++ b/content/actions/deployment/deploying-to-amazon-elastic-container-service.md @@ -67,7 +67,9 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you See the documentation for each action used below for the recommended IAM policies for the IAM user, and methods for handling the access key credentials. +{% ifversion fpt or ghes > 3.1 or ghae-next %} 5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %} +{% endif %} ## Creating the workflow diff --git a/content/actions/deployment/deploying-to-azure-app-service.md b/content/actions/deployment/deploying-to-azure-app-service.md index a9b4880371..609bb0ab2e 100644 --- a/content/actions/deployment/deploying-to-azure-app-service.md +++ b/content/actions/deployment/deploying-to-azure-app-service.md @@ -69,7 +69,9 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you 4. For Linux apps, add an app setting called `WEBSITE_WEBDEPLOY_USE_SCM` and set it to true in your app. For more information, see "[Configure apps in the portal](https://docs.microsoft.com/en-us/azure/app-service/configure-common#configure-app-settings)" in the Azure documentation. +{% ifversion fpt or ghes > 3.1 or ghae-next %} 5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %} +{% endif %} ## Creating the workflow diff --git a/content/actions/deployment/deploying-to-google-kubernetes-engine.md b/content/actions/deployment/deploying-to-google-kubernetes-engine.md index ea0d112571..4b27a02ddf 100644 --- a/content/actions/deployment/deploying-to-google-kubernetes-engine.md +++ b/content/actions/deployment/deploying-to-google-kubernetes-engine.md @@ -105,9 +105,11 @@ Store the name of your project as a secret named `GKE_PROJECT`. For more informa ### (Optional) Configuring kustomize Kustomize is an optional tool used for managing YAML specs. After creating a _kustomization_ file, the workflow below can be used to dynamically set fields of the image and pipe in the result to `kubectl`. For more information, see [kustomize usage](https://github.com/kubernetes-sigs/kustomize#usage). +{% ifversion fpt or ghes > 3.1 or ghae-next %} ### (Optional) Configure a deployment environment {% data reusables.actions.about-environments %} +{% endif %} ## Creating the workflow From 3f8daeb37352fbd162eb3fb3521e62a5079385c0 Mon Sep 17 00:00:00 2001 From: Lucas Costi Date: Tue, 12 Oct 2021 13:43:46 +1000 Subject: [PATCH 2/2] Fix versioning --- .../deployment/deploying-to-amazon-elastic-container-service.md | 2 +- content/actions/deployment/deploying-to-azure-app-service.md | 2 +- .../actions/deployment/deploying-to-google-kubernetes-engine.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/actions/deployment/deploying-to-amazon-elastic-container-service.md b/content/actions/deployment/deploying-to-amazon-elastic-container-service.md index b4163703ef..90f8d5dd6e 100644 --- a/content/actions/deployment/deploying-to-amazon-elastic-container-service.md +++ b/content/actions/deployment/deploying-to-amazon-elastic-container-service.md @@ -67,7 +67,7 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you See the documentation for each action used below for the recommended IAM policies for the IAM user, and methods for handling the access key credentials. -{% ifversion fpt or ghes > 3.1 or ghae-next %} +{% ifversion fpt or ghes > 3.0 or ghae %} 5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %} {% endif %} diff --git a/content/actions/deployment/deploying-to-azure-app-service.md b/content/actions/deployment/deploying-to-azure-app-service.md index 609bb0ab2e..e1fdc88f7e 100644 --- a/content/actions/deployment/deploying-to-azure-app-service.md +++ b/content/actions/deployment/deploying-to-azure-app-service.md @@ -69,7 +69,7 @@ Before creating your {% data variables.product.prodname_actions %} workflow, you 4. For Linux apps, add an app setting called `WEBSITE_WEBDEPLOY_USE_SCM` and set it to true in your app. For more information, see "[Configure apps in the portal](https://docs.microsoft.com/en-us/azure/app-service/configure-common#configure-app-settings)" in the Azure documentation. -{% ifversion fpt or ghes > 3.1 or ghae-next %} +{% ifversion fpt or ghes > 3.0 or ghae %} 5. Optionally, configure a deployment environment. {% data reusables.actions.about-environments %} {% endif %} diff --git a/content/actions/deployment/deploying-to-google-kubernetes-engine.md b/content/actions/deployment/deploying-to-google-kubernetes-engine.md index 4b27a02ddf..044576808a 100644 --- a/content/actions/deployment/deploying-to-google-kubernetes-engine.md +++ b/content/actions/deployment/deploying-to-google-kubernetes-engine.md @@ -105,7 +105,7 @@ Store the name of your project as a secret named `GKE_PROJECT`. For more informa ### (Optional) Configuring kustomize Kustomize is an optional tool used for managing YAML specs. After creating a _kustomization_ file, the workflow below can be used to dynamically set fields of the image and pipe in the result to `kubectl`. For more information, see [kustomize usage](https://github.com/kubernetes-sigs/kustomize#usage). -{% ifversion fpt or ghes > 3.1 or ghae-next %} +{% ifversion fpt or ghes > 3.0 or ghae %} ### (Optional) Configure a deployment environment {% data reusables.actions.about-environments %}