aboutsummaryrefslogtreecommitdiff
path: root/content/notes/cronjobs-github-with-actions.md
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-06-27 14:50:20 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-06-27 14:50:20 +0200
commit8697555125c57ae64a0c9b78514b4aac4fd523de (patch)
treea699df53a7c35a4425f30bca86982c4341f6de40 /content/notes/cronjobs-github-with-actions.md
parent33b2615a5038bc85036081e8b5e0da8584d88097 (diff)
downloadmitjafelicijan.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.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