Skip to content

Commit

Permalink
for images
Browse files Browse the repository at this point in the history
  • Loading branch information
nabim777 committed Feb 13, 2024
1 parent 7bbf91d commit cd9620d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ Before we dive into an example, make sure we have a GitHub account and a reposit
5. Actions
6. Runners

![components](/src/assets/githubAction/components_of_github_action.png)


### 1. Workflows:
Workflows are automated procedures that you add to your repository. Workflows will run when triggered by an event in your repository, or they can be triggered manually, or at a defined schedule. It can be used to build, test, package, release, or deploy a project on Github.

Expand All @@ -46,8 +49,14 @@ Runner is a github actions server where our workflows run. A runner listens for
Note:
One event can trigger many workflows, a workflow can contain many jobs, and a job can contain many steps

### Example:

![process_in_githubActions](/src/assets/githubAction/haha.png)

Before we dive into an example, make sure we have a repository where we want to set up your CI/CD workflow. If we don't have one, create a new repository.
Then create a folder `.github/workflows` and inside it make a file as `hello_world.yml`
Then create a folder `.github/workflows` and inside it make a file as `hello_world.yml`.

Add the following code snippet to your file `hello_world.yml`

```
name: Hello world workflow
Expand Down
Binary file added src/assets/githubAction/haha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cd9620d

Please sign in to comment.