How to install and configure GitHub CLI (gh)?

How to install and configure GitHub CLI (gh)? Hello Everyone Welcome to CloudAffaire and this is Debjeet. Today we are going to discuss, how to install and configure GitHub CLI (gh). What is GitHub CLI (gh)? GitHub CLI also known as gh is GitHub on the command line. It brings pull requests, issues, and other GitHub concepts to the terminal next to where you are already working with git and your code. Prerequisites: One…

0 Comments

How to add a self-hosted runner in GitHub?

How to add a self-hosted runner in GitHub? Hello Everyone Welcome to CloudAffaire and this is Debjeet. Today we will discuss how to install, configure, and add a self-hosted runner in GitHub. In GitHub Actions (CI/CD pipeline), you have an option to run your pipeline in GitHub hosted runner or Self-Hosted runner. A runner is a server which will execute your pipeline through GitHub Actions. You can add a runner in either repository level…

0 Comments

GitHub Actions Workflow Part 3 – Jobs

GitHub Actions Workflow Part 3 – Jobs Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss jobs workflow element in GitHub. A job is an intent of single or multiple actions that you want to perform in your GitHub workflow. A job comprises of mainly a job name and id to uniquely identify each job in the GitHub workflow, target (runs_on) where the job will get executed…

0 Comments

GitHub Actions Workflow Part 2 – Environment Variables

GitHub Actions Workflow Part 2 – Environment Variables Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss env workflow element and environment variables in GitHub. You can use a user defined environment variables or GitHub inbuilt environment variables in your GitHub actions workflow. User Defined Environment Variables: env (optional): A map of environment variables that are available to the steps of all jobs in the workflow. You…

0 Comments

GitHub Actions Workflow Part 1 – Name On

GitHub Actions Workflow Part 1 – Name On Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss the name and on elements of GitHub Action workflow and will have a demo on how to trigger a GitHub pipeline manually using API. name (optional): You can define the name of your workflow using name parameter in GitHub action workflow. GitHub uses the value of name parameter in the…

0 Comments

How To Create GitHub Actions Using API

How To Create GitHub Actions Using API Hello Everyone Welcome to CloudAffaire and this is Debjeet. You can implement CI/CD pipeline in your GitHub repository using GitHub Actions. In this blog post, we will discuss how to create GitHub actions using API. In a nutshell, GitHub actions is a set of instructions known as workflow that is triggered based on some events or schedule and perform some actions in the form of jobs which…

0 Comments

How To Manage A GitHub Repository Using API

How To Manage A GitHub Repository Using API Hello Everyone Welcome to CloudAffaire and this is Debjeet. GitHub provides full set of API endpoints to manage all your GitHub repository using API. In this blog post, we will discuss how to manage a GitHub repository using API. As more and more projects adopting Cloud and DevOps and entire stack from application to infrastructure is managed through CI/CD pipeline, it’s the need to the hour…

0 Comments

How To Create Personal Access Token In GitHub

How To Create Personal Access Token In GitHub Hello Everyone Welcome to CloudAffaire and this is Debjeet. A Personal Access Token (PAT) can be used as an alternative of password to authenticate with GitHub when you’re performing a Git operation or API call with GitHub. In today’s blog post, we will discuss how to create a personal access token in GitHub. The scope of the personal access token is your entire GitHub account or…

0 Comments

Git Remote Repository

Git remote repository Hello Everyone Welcome to CloudAffaire and this is Debjeet. In the last blog post, we have discussed how to rewrite git history. https://cloudaffaire.com/git-rewrite-history/ In this blog post, we will discuss git remote repository. We will use GitHub as our remote repository in this demo. Git remote repository: Demo: Create a GitHub account and login to your GitHub account. Create a repository in your GitHub account. Copy your remote repository https link…

0 Comments