Skip to content

Commit

Permalink
fixed spacing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmitchellv committed May 10, 2024
1 parent 9acf891 commit b3bda06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions blog/2024-05-08-gh-actions/gh-actions.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
```

This workflow includes three top-level elements:

1. `name`: The name of the workflow.
2. `on`: Specifies the triggers for the workflow, such as `push` and `pull_request` events on the `main` branch.
3. `jobs`: Lists the jobs that will run, typically in parallel.
Expand Down Expand Up @@ -114,6 +115,7 @@ jobs:
Similar to the linting workflow, this workflow contains the same three top-level elements, but with a different job configuration.

Understanding the components of `jobs:` and their keys was initially confusing. These elements specify the steps to be run in each job, which can be:

- **Shell commands:** Executable commands using the `run:` key, similar to what you would type in a terminal.
- **Actions:** Reusable actions specified with the `uses:` key, like `actions/checkout@v3` for checking out repository code.
- **Composite run steps actions:** Grouped steps within a single action for reuse across workflows, specified with the `steps:` key.
Expand Down

0 comments on commit b3bda06

Please sign in to comment.