aboutsummaryrefslogtreecommitdiff
path: root/content/notes/cronjobs-github-with-actions.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/notes/cronjobs-github-with-actions.md')
-rw-r--r--content/notes/cronjobs-github-with-actions.md17
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
7tags: [github] 7tags: [github]
8--- 8---
9 9
10In the root of your repository create a folder `.github/workflows` and 10In the root of your repository create a folder `.github/workflows` and in that
11in that folder create a file a file `cron.yaml`. This file can be named 11folder create a file a file `cron.yaml`. This file can be named whatever you
12whatever you wish. But it has to be a `yaml` file. 12wish. But it has to be a `yaml` file.
13 13
14File below (`.github/workflows/cron.yaml`) describes an action that will 14File below (`.github/workflows/cron.yaml`) describes an action that will trigger
15trigger every six hours and it will curl example.com. 15every six hours and it will curl example.com.
16
17However. Be sure that you have enough credits. Free account is not that
18generous with the minutes they give you for free. Check more about
19GitHub Actions usage on their website https://docs.github.com/en/actions.
20 16
17However. Be sure that you have enough credits. Free account is not that generous
18with the minutes they give you for free. Check more about GitHub Actions usage
19on their website https://docs.github.com/en/actions.
21 20
22```yaml 21```yaml
23# .github/workflows/cron.yaml 22# .github/workflows/cron.yaml