Skip to content

Commit 9db49ac

Browse files
committed
chore: add some notes
1 parent 1d53abf commit 9db49ac

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
11
# github-actions-playground
22
This repository is used as a playground to learn and mess with github actions.
3+
4+
## Notes
5+
6+
A basic workflow is configured as follows:
7+
8+
```yaml
9+
10+
name: CI
11+
12+
on: [push]
13+
14+
jobs:
15+
build:
16+
name: Build
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: SayHi
21+
run: echo "Hello, ${{ github.actor }}"
22+
23+
```
24+
25+
Each job runs in a fresh instance of the virtual environment, this means that we need to checkout the branch and install
26+
the dependencies in each job;
27+
28+
Continuos Integration (CI): is the practice of automating the integration of code changes from multiple contributors
29+
into a single software project. The CI process is comprised of automatic tools that assert the new code’s correctness
30+
before integration. This means that you can set up github actions to run tests, linters, etc. on each push to the
31+
repository or on a pull request.
32+
33+
Continuous Deployment (CD): is the practice of automating the deployment of code changes to a production environment.
34+
This means that you can set up github actions to deploy your code to a server, a cloud provider, etc. once you are
35+
ready to release a new version of your software.

0 commit comments

Comments
 (0)