Skip to content

Commit

Permalink
add suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisDuarte1 committed Apr 3, 2024
1 parent 5831057 commit f8db09c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions gh-actions-workshop/presentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,13 @@ jobs:
with:
node-version: 16.13.x
cache: npm
...
```

---

```yaml
...
- name: Install
run: npm ci

Expand Down Expand Up @@ -177,7 +183,8 @@ A _workflow_ can be triggered by a plentitude of events:
- `push` or `pull_request` are the most common (listens for branch pushes or to PR events);
- `create` or `delete` listen for branch creation/deletion events;
- `workflow_call`, `workflow_dispatch`, and `workflow_run` can chain together _workflows_ via API or by specifying dependencies;
- the `schedule` can make a _workflow_ work on a recurrent basis using _cron job_ syntax. There's a [huge number of events](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows) that can automate almost everything ranging from issues, comments or even automating GitHub Projects.
- the `schedule` can make a _workflow_ work on a recurrent basis using _cron job_ syntax.
- There's a [huge number of events](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows) that can automate almost everything ranging from issues, comments or even automating GitHub Projects.

You can automate almost everything in GitHub, the sky is the limit 🚀

Expand Down Expand Up @@ -471,7 +478,7 @@ You should create a new repository that is a template of this repo:

<div style="display:flex; flex-direction: column; justify-content: space-between; height:15rem">
<div style="display:flex; justify-content: center">
<a href="https://github.com/NIAEFEUP/workshop-ci-24">https://github.com/NIAEFEUP/workshop-ci-24</a>
<a href="https://github.com/NIAEFEUP/workshop-ci-24-template">https://github.com/NIAEFEUP/workshop-ci-24-template</a>
</div>


Expand Down

0 comments on commit f8db09c

Please sign in to comment.