Skip to content

Commit

Permalink
feat: update paths, redirect paths for all topics, GHA workflow runne…
Browse files Browse the repository at this point in the history
…r version (#108)

- Update the paths (slugs) for all tech note pages (Docker, Kubernetes, etc). It used to be `<domain>/docker/introduction` now users can directly access the same page with `<domain>/docker`. 

- Also, set up a redirect from the old path to the new path to prevent the user from getting an error or a page not found while accessing it.

- Update the GitHub Workflow version.
  • Loading branch information
Pradumnasaraf authored Dec 27, 2024
1 parent 348cf23 commit f1a2dc9
Show file tree
Hide file tree
Showing 66 changed files with 402 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-dockerhub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-ghcr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
build-and-push-image:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
permissions:
contents: read
packages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
changelog:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vercel-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main
jobs:
Deploy-Preview:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Vercel CLI
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vercel-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- main
jobs:
Deploy-Production:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Install Vercel CLI
Expand Down
4 changes: 4 additions & 0 deletions docs/argocd/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: ArgoCD Introduction
description: A deep dive into ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
tags: ["ArgoCD", "GitOps", "Kubernetes", "Continuous Delivery"]
keywords: ["ArgoCD", "GitOps", "Kubernetes", "Continuous Delivery"]
slug: "/argocd"
---

Argo CD is a popular GitOps controller. It is used to deploy applications to Kubernetes clusters. It is also used to manage the configuration of the cluster itself. It can be changed too.
Expand Down
4 changes: 4 additions & 0 deletions docs/argocd/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about ArgoCD.
tags: ["ArgoCD", "GitOps", "Kubernetes", "Continuous Delivery"]
keywords: ["ArgoCD", "GitOps", "Kubernetes", "Continuous Delivery"]
slug: "/argocd/resources"
---

- [GitOps Tech world with naina (Video)](https://youtu.be/MeU5_k9ssrs)
Expand Down
4 changes: 4 additions & 0 deletions docs/argocd/other-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 6
title: Other Resources
description: A collection of resources to learn more about ArgoCD.
tags: ["ArgoCD", "GitOps", "Kubernetes", "Continuous Delivery"]
keywords: ["ArgoCD", "GitOps", "Kubernetes", "Continuous Delivery"]
slug: "/argocd/other-resources"
---

Here are list of other resources that you can refer to learn more about ArgoCD:
Expand Down
4 changes: 4 additions & 0 deletions docs/bash-scripting/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: Bash Scripting Introduction
description: A deep dive into Bash Scripting, a scripting language for the Unix shell.
tags: ["Bash", "Scripting", "Unix", "Shell"]
keywords: ["Bash", "Scripting", "Unix", "Shell"]
slug: "/bash"
---

We start by creating a file with the `.sh` extension. For example, `script.sh`. Then we write the script in it. For example:
Expand Down
4 changes: 4 additions & 0 deletions docs/bash-scripting/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about Bash Scripting.
tags: ["Bash Scripting", "Linux", "Shell Scripting"]
keywords: ["Bash Scripting", "Linux", "Shell Scripting"]
slug: "/bash/resources"
---

- [You need to learn Bash Scripting right now playlist - NetworkChuck (Video)](https://youtube.com/playlist?list=PLIhvC56v63IKioClkSNDjW7iz-6TFvLwS)
Expand Down
4 changes: 4 additions & 0 deletions docs/bash-scripting/other-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 6
title: Other Resources
description: A collection of resources to learn more about Bash Scripting.
tags: ["Bash Scripting", "Linux", "Shell Scripting"]
keywords: ["Bash Scripting", "Linux", "Shell Scripting"]
slug: "/bash/other-resources"
---

Here are list of other resources that you can refer to learn more about Bash Scripting:
Expand Down
4 changes: 4 additions & 0 deletions docs/bash-scripting/tools.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 3
title: Tools
description: A collection of tools that can help you with Bash Scripting.
tags: ["Bash Scripting", "Linux", "Shell Scripting"]
keywords: ["Bash Scripting", "Linux", "Shell Scripting"]
slug: "/bash/tools"
---

- [Chmod Calculator](https://chmodcommand.com/)
Expand Down
4 changes: 4 additions & 0 deletions docs/devsecops/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: DevSecOps Introduction
description: A collection of resources to learn more about DevSecOps.
tags: ["DevSecOps", "DevOps", "Security"]
keywords: ["DevSecOps", "DevOps", "Security"]
slug: "/devsecops"
---

It is a set of practices that combines software development (Dev) and information security (Sec) to shorten the systems development life cycle while providing continuous monitoring to ensure the delivery of secure software.
Expand Down
4 changes: 4 additions & 0 deletions docs/docker/commands.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 3
title: Docker Commands
description: A collection of Docker commands to help you get started with Docker.
tags: ["Docker", "Containerization", "DevOps"]
keywords: ["Docker", "Containerization", "DevOps"]
slug: "/docker/commands"
---

### Docker Basic
Expand Down
4 changes: 4 additions & 0 deletions docs/docker/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: Docker Introduction
description: An introduction to Docker, a platform designed to simplify the development, deployment, and management of applications in a containerized environment.
tags: ["Docker", "Containerization", "DevOps"]
keywords: ["Docker", "Containerization", "DevOps"]
slug: "/docker"
---

### Overview of Docker
Expand Down
4 changes: 4 additions & 0 deletions docs/docker/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about Docker.
tags: ["Docker", "Containerization", "DevOps"]
keywords: ["Docker", "Containerization", "DevOps"]
slug: "/docker/resources"
---

- [Docker Mastery (Course)](https://www.udemy.com/course/docker-mastery/)
Expand Down
4 changes: 4 additions & 0 deletions docs/docker/other-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 4
title: Other Resources
description: A collection of resources to learn more about Docker.
tags: ["Docker", "Containerization", "DevOps"]
keywords: ["Docker", "Containerization", "DevOps"]
slug: "/docker/other-resources"
---

Here are list of other resources that you can refer to learn more about Docker:
Expand Down
1 change: 1 addition & 0 deletions docs/feedback.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
sidebar_position: 20
description: Feedback and suggestions
title: Feedback & Suggestions

---

Hey learner, practitioner, or expert in DevOps,
Expand Down
4 changes: 4 additions & 0 deletions docs/git/commands.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 3
title: Git Commands
description: A collection of Git commands that can help you with version control.
tags: ["Git", "Version Control System", "DevOps"]
keywords: ["Git", "Version Control System", "DevOps"]
slug: "/git/commands"
---

## **Add**
Expand Down
4 changes: 4 additions & 0 deletions docs/git/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: Git Introduction
description: A brief introduction to Git.
tags: ["Git", "Version Control", "Software Development"]
keywords: ["Git", "Version Control", "Software Development"]
slug: "/git"
---

Git is a distributed version control system that is used to track changes in source code during software development. It is designed to coordinate work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows.
Expand Down
4 changes: 4 additions & 0 deletions docs/git/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about Git.
tags: ["Git", "Version Control System", "DevOps"]
keywords: ["Git", "Version Control System", "DevOps"]
slug: "/git/resources"
---

- [OSWP Resources page](https://github.com/Pradumnasaraf/open-source-with-pradumna/blob/main/pages/Resources.md)
Expand Down
4 changes: 4 additions & 0 deletions docs/github-actions/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: GitHub Actions Introduction
description: A guide to learn about GitHub Actions.
tags: ["GitHub Actions", "DevOps", "CI/CD"]
keywords: ["GitHub Actions", "DevOps", "CI/CD"]
slug: "/github-actions"
---

GitHub Actions is a feature that allows you to automate your software development workflows. You can write individual tasks, called actions, and combine them to create a custom workflow. Workflows are custom automated processes that you can set up in your repository to build, test, package, release, or deploy any code project on GitHub.
Expand Down
4 changes: 4 additions & 0 deletions docs/github-actions/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 3
title: Learning Resources
description: A collection of resources to learn more about GitHub Actions.
tags: ["GitHub Actions", "CI/CD", "DevOps"]
keywords: ["GitHub Actions", "CI/CD", "DevOps"]
slug: "/github-actions/resources"
---

- [GitHub Actions](https://docs.github.com/en/actions)
Expand Down
4 changes: 4 additions & 0 deletions docs/github-actions/other-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 4
title: Other Resources
description: A collection of resources to learn more about GitHub Actions.
tags: ["GitHub Actions", "DevOps", "Continuous Integration", "Continuous Deployment"]
keywords: ["GitHub Actions", "DevOps", "Continuous Integration", "Continuous Deployment"]
slug: "/github-actions/other-resources"
---

Here are list of other resources that you can refer to learn more about GitHub Actions:
Expand Down
4 changes: 4 additions & 0 deletions docs/github-actions/scenarios.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Senarios and Examples
description: A collection of scenarios and examples to help you get started with GitHub Actions.
tags: ["GitHub Actions", "DevOps", "Continuous Integration", "Continuous Deployment"]
keywords: ["GitHub Actions", "DevOps", "Continuous Integration", "Continuous Deployment"]
slug: "/github-actions/scenarios"
---

This section contains GitHub workflow configuration files for different scenarios. You can use these files as a reference to create your own workflows.
Expand Down
4 changes: 4 additions & 0 deletions docs/gitops/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: GitOps Introduction
description: Learn about GitOps and its benefits.
tags: ["GitOps", "Kubernetes", "Continuous Delivery"]
keywords: ["GitOps", "Kubernetes", "Continuous Delivery"]
slug: "/gitops"
---

GitOps is a way of managing Kubernetes clusters using Git as the source of truth.
Expand Down
4 changes: 4 additions & 0 deletions docs/gitops/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about GitOps.
tags: ["GitOps", "Kubernetes", "Continuous Delivery"]
keywords: ["GitOps", "Kubernetes", "Continuous Delivery"]
slug: "/gitops/resources"
---

- [What is GitOps - TechWorld with Nana](https://youtu.be/f5EpcWp0THw)
Expand Down
4 changes: 4 additions & 0 deletions docs/golang/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: Golang Introduction
description: Learn about Golang and its features.
tags: ["Golang", "Programming Language", "Go"]
keywords: ["Golang", "Programming Language", "Go"]
slug: "/golang"
---

Golang (or Go) is statically typed, compiled programming language designed at Google. It is syntactically similar to C, but with memory safety, garbage collection, structural typing, and CSP-style concurrency.
Expand Down
4 changes: 4 additions & 0 deletions docs/golang/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about Golang.
tags: ["Golang", "Programming", "Go"]
keywords: ["Golang", "Programming", "Go"]
slug: "/golang/resources"
---

- [Go by Example](https://gobyexample.com/)
Expand Down
4 changes: 4 additions & 0 deletions docs/golang/other-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 3
title: Other Resources
description: A collection of resources to learn more about Golang.
tags: ["Golang", "Programming", "DevOps"]
keywords: ["Golang", "Programming", "DevOps"]
slug: "/golang/other-resources"
---

Here are list of other resources that you can refer to learn more about Golang:
Expand Down
4 changes: 4 additions & 0 deletions docs/helm/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: Helm Introduction
description: Learn about Helm and its benefits.
tags: ["Helm", "Kubernetes", "Package Manager"]
keywords: ["Helm", "Kubernetes", "Package Manager"]
slug: "/helm"
---

Helm is package manager and a templating engine for Kubernetes. It allows you to define, install, and upgrade even the most complex Kubernetes applications. It's like apt, yum, or homebrew for Kubernetes. Primary use case is application deployment and environment management.
Expand Down
4 changes: 4 additions & 0 deletions docs/helm/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about Helm.
tags: ["Helm", "Kubernetes", "DevOps"]
keywords: ["Helm", "Kubernetes", "DevOps"]
slug: "/helm/resources"
---

- [Helm Docs](https://helm.sh/)
Expand Down
6 changes: 4 additions & 2 deletions docs/introduction.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
sidebar_position: 1
slug: /
label: Introduction
title: DevOps
description: Introduction to DevOps
description: A collection of resources to learn more about DevOps.
tags: ["DevOps", "Development", "Operations"]
keywords: ["DevOps", "Development", "Operations"]
slug: /
---

> Hey, I created this repository to keep my learning, notes, and code in one place for various tools in DevOps. Now, it's helping thousands of learners, practitioners, and professionals every day in their DevOps journey. Good luck with your DevOps journey! - [Pradumna Saraf](https://twitter.com/pradumna_saraf)
Expand Down
4 changes: 4 additions & 0 deletions docs/jenkins/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: Jenkins Introduction
description: Learn about Jenkins and its benefits.
tags: ["Jenkins", "Continuous Integration", "Continuous Deployment"]
keywords: ["Jenkins", "Continuous Integration", "Continuous Deployment"]
slug: "/jenkins"
---

Jenkins is an open source automation server. It helps automate the parts of software development related to building, testing, and deploying, facilitating continuous integration and continuous delivery.
Expand Down
4 changes: 4 additions & 0 deletions docs/jenkins/learning-resources.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 2
title: Learning Resources
description: A collection of resources to learn more about Jenkins.
tags: ["Jenkins", "Continuous Integration", "Continuous Delivery", "DevOps"]
keywords: ["Jenkins", "Continuous Integration", "Continuous Delivery", "DevOps"]
slug: "/jenkins/resources"
---

### Resources
Expand Down
4 changes: 4 additions & 0 deletions docs/kubernetes/commands.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 3
title: Kubernetes Commands
description: A collection of commands to help you with Kubernetes.
tags: ["Kubernetes", "Containerization", "DevOps"]
keywords: ["Kubernetes", "Containerization", "DevOps"]
slug: "/kubernetes/commands"
---

> KUBECTL COMMANDS
Expand Down
4 changes: 4 additions & 0 deletions docs/kubernetes/introduction.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
---
sidebar_position: 1
title: Kubernetes Introduction
description: A guide to Kubernetes, a container orchestration tool.
tags: ["Kubernetes", "Container Orchestration", "DevOps"]
keywords: ["Kubernetes", "Container Orchestration", "DevOps"]
slug: "/kubernetes"
---

## Kubernetes Components - architecture
Expand Down
Loading

0 comments on commit f1a2dc9

Please sign in to comment.