Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Collapsible Text instead of Details #686

Merged
merged 3 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Update workflow YAML file titles with descriptive names
  • Loading branch information
milldr committed Sep 6, 2024
commit 656b9e866781295ecedd96318cec2f9415ad6106
6 changes: 3 additions & 3 deletions docs/layers/software-delivery/ecs-ecspresso/ecs-ecspresso.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Check out our [example app-on-ecs](https://github.com/cloudposse-examples/app-on
<Tabs queryString="workflow">
<TabItem value="feature" label="Feature">
<CollapsibleText type="medium">
```yaml
```yaml title=".github/workflows/feature-branch.yaml"
name: 1 - Feature Branch
on:
pull_request:
Expand Down Expand Up @@ -132,7 +132,7 @@ Check out our [example app-on-ecs](https://github.com/cloudposse-examples/app-on

<TabItem value="main" label="Main">
<CollapsibleText type="medium">
```yaml
```yaml title=".github/workflows/main-branch.yaml"
name: 2 - Main Branch
on:
push:
Expand Down Expand Up @@ -191,7 +191,7 @@ Check out our [example app-on-ecs](https://github.com/cloudposse-examples/app-on

<TabItem value="release" label="Release">
<CollapsibleText type="medium">
```yaml
```yaml title=".github/workflows/release.yaml"
name: 3 - Release
on:
release:
Expand Down
18 changes: 6 additions & 12 deletions docs/layers/software-delivery/eks-argocd/eks-argocd.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ Check out our [example app-on-eks-with-argocd](https://github.com/cloudposse-exa
<Tabs queryString="workflow">
<TabItem value="feature" label="Feature">
<CollapsibleText type="medium">
```yaml
# .github/workflows/feature-branch.yaml
```yaml title=".github/workflows/feature-branch.yaml"
name: Feature Branch
on:
pull_request:
Expand Down Expand Up @@ -141,8 +140,7 @@ Check out our [example app-on-eks-with-argocd](https://github.com/cloudposse-exa
</TabItem>
<TabItem value="main" label="Main">
<CollapsibleText type="medium">
```yaml
# .github/workflows/main-branch.yaml
```yaml title=".github/workflows/main-branch.yaml"
name: Main Branch
on:
push:
Expand All @@ -169,8 +167,7 @@ Check out our [example app-on-eks-with-argocd](https://github.com/cloudposse-exa
</TabItem>
<TabItem value="release" label="Release">
<CollapsibleText type="medium">
```yaml
# .github/workflows/release.yaml
```yaml title=".github/workflows/release.yaml"
name: Release
on:
release:
Expand Down Expand Up @@ -211,8 +208,7 @@ In order to enable hotfix workflows, create two additional workflows and modify
<TabItem value="mixin" label="Release Branch">
Before running any hotfix workflows, we must first create release branches with any release. Modify the existing release workflow to include the `hotfix` job below.
<CollapsibleText type="medium">
```yaml
# .github/workflows/release.yaml
```yaml title=".github/workflows/release.yaml"
name: Release
on:
release:
Expand Down Expand Up @@ -240,8 +236,7 @@ In order to enable hotfix workflows, create two additional workflows and modify
Deploy this workflow by creating a Pull Request into the a release branch and adding the `deploy` label.

<CollapsibleText type="medium">
```yaml
# .github/workflows/hotfix-branch.yaml
```yaml title=".github/workflows/hotfix-branch.yaml"
name: Hotfix Branch
on:
pull_request:
Expand Down Expand Up @@ -282,8 +277,7 @@ In order to enable hotfix workflows, create two additional workflows and modify
In order to enable the "Hotfix Release" workflow, add the following:

<CollapsibleText type="medium">
```yaml
# .github/workflows/hotfix-release.yaml
```yaml title=".github/workflows/hotfix-release.yaml"
name: Hotfix Release
on:
push:
Expand Down
9 changes: 3 additions & 6 deletions docs/layers/software-delivery/lambda/lambda.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ Each SSM update is basically a promotion, and requires a Terraform run to realiz
<Tabs queryString="workflow">
<TabItem value="feature" label="Build and Dev">
<CollapsibleText type="medium">
```yaml
# .github/workflows/reusable-publish-lambda-zip.yaml
```yaml title=".github/workflows/reusable-publish-lambda-zip.yaml"
name: Publish Lambda Function
on:
workflow_call:
Expand Down Expand Up @@ -113,8 +112,7 @@ Each SSM update is basically a promotion, and requires a Terraform run to realiz
</TabItem>
<TabItem value="promote" label="Promote Release">
<CollapsibleText type="medium">
```yaml
# .github/workflows/reusable-promote-lambda-zip.yaml
```yaml title=".github/workflows/reusable-promote-lambda-zip.yaml"
name: Publish Lambda Function
on:
workflow_call:
Expand Down Expand Up @@ -197,8 +195,7 @@ Each SSM update is basically a promotion, and requires a Terraform run to realiz

<TabItem value="deploy" label="Optional: Deploy with Spacelift">
<CollapsibleText type="medium">
```yaml
# .github/workflows/reusable-promote-lambda-zip.yaml
```yaml title=".github/workflows/reusable-promote-lambda-zip.yaml"
name: Deploy Lambda via Spacelift
on:
workflow_call:
Expand Down
Loading