diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 17:17:41 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-27 17:17:41 +0200 |
| commit | 5b0d04bf2be32e85e68fc1339000a0ea5a15543c (patch) | |
| tree | 4e0a5f1c97ffffa6f070e93e6a76d5a4accf76d9 /content/notes/cronjobs-github-with-actions.md | |
| parent | eb2cf9f9476473811178d1c5cfdd71a0293fdff4 (diff) | |
| download | mitjafelicijan.com-5b0d04bf2be32e85e68fc1339000a0ea5a15543c.tar.gz | |
Added tgas pages
Diffstat (limited to 'content/notes/cronjobs-github-with-actions.md')
| -rw-r--r-- | content/notes/cronjobs-github-with-actions.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/notes/cronjobs-github-with-actions.md b/content/notes/cronjobs-github-with-actions.md index 08dea54..13e7618 100644 --- a/content/notes/cronjobs-github-with-actions.md +++ b/content/notes/cronjobs-github-with-actions.md | |||
| @@ -4,17 +4,17 @@ url: cronjobs-github-with-actions.html | |||
| 4 | date: 2023-05-27T00:35:36+02:00 | 4 | date: 2023-05-27T00:35:36+02:00 |
| 5 | type: notes | 5 | type: notes |
| 6 | draft: false | 6 | draft: false |
| 7 | tags: [github, actions] | 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 |
| 11 | in that folder create a file a file `cron.yaml`. This file can be named | 11 | in that folder create a file a file `cron.yaml`. This file can be named |
| 12 | whatever you wish. But it has to be a `yaml` file. | 12 | whatever you 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 |
| 15 | trigger every six hours and it will curl example.com. | 15 | trigger every six hours and it will curl example.com. |
| 16 | 16 | ||
| 17 | However. Be sure that you have enough credits. Free account is not that | 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 | 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. | 19 | GitHub Actions usage on their website https://docs.github.com/en/actions. |
| 20 | 20 | ||
