diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-06-27 14:50:20 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-06-27 14:50:20 +0200 |
| commit | 8697555125c57ae64a0c9b78514b4aac4fd523de (patch) | |
| tree | a699df53a7c35a4425f30bca86982c4341f6de40 /content/notes/cronjobs-github-with-actions.md | |
| parent | 33b2615a5038bc85036081e8b5e0da8584d88097 (diff) | |
| download | mitjafelicijan.com-8697555125c57ae64a0c9b78514b4aac4fd523de.tar.gz | |
Massive formatting and added figcaption
Diffstat (limited to 'content/notes/cronjobs-github-with-actions.md')
| -rw-r--r-- | content/notes/cronjobs-github-with-actions.md | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/content/notes/cronjobs-github-with-actions.md b/content/notes/cronjobs-github-with-actions.md index 13e7618..4ae2f71 100644 --- a/content/notes/cronjobs-github-with-actions.md +++ b/content/notes/cronjobs-github-with-actions.md | |||
| @@ -7,17 +7,16 @@ draft: false | |||
| 7 | tags: [github] | 7 | tags: [github] |
| 8 | --- | 8 | --- |
| 9 | 9 | ||
| 10 | In the root of your repository create a folder `.github/workflows` and | 10 | In the root of your repository create a folder `.github/workflows` and in that |
| 11 | in that folder create a file a file `cron.yaml`. This file can be named | 11 | folder create a file a file `cron.yaml`. This file can be named whatever you |
| 12 | whatever you wish. But it has to be a `yaml` file. | 12 | wish. But it has to be a `yaml` file. |
| 13 | 13 | ||
| 14 | File below (`.github/workflows/cron.yaml`) describes an action that will | 14 | File below (`.github/workflows/cron.yaml`) describes an action that will trigger |
| 15 | trigger every six hours and it will curl example.com. | 15 | every six hours and it will curl example.com. |
| 16 | |||
| 17 | However. Be sure that you have enough credits. Free account is not that | ||
| 18 | generous with the minutes they give you for free. Check more about | ||
| 19 | GitHub Actions usage on their website https://docs.github.com/en/actions. | ||
| 20 | 16 | ||
| 17 | However. Be sure that you have enough credits. Free account is not that generous | ||
| 18 | with the minutes they give you for free. Check more about GitHub Actions usage | ||
| 19 | on their website https://docs.github.com/en/actions. | ||
| 21 | 20 | ||
| 22 | ```yaml | 21 | ```yaml |
| 23 | # .github/workflows/cron.yaml | 22 | # .github/workflows/cron.yaml |
