From 58904b7d9b781c9a7eb18183392b3a565fdbcd51 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jul 2023 23:26:39 +0200 Subject: Removed public folder --- public/cronjobs-github-with-actions.html | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 public/cronjobs-github-with-actions.html (limited to 'public/cronjobs-github-with-actions.html') diff --git a/public/cronjobs-github-with-actions.html b/public/cronjobs-github-with-actions.html deleted file mode 100755 index c808d1d..0000000 --- a/public/cronjobs-github-with-actions.html +++ /dev/null @@ -1,27 +0,0 @@ -Cronjobs on Github with Github Actions

Cronjobs on Github with Github Actions

May 27, 2023

In the root of your repository create a folder .github/workflows and in that -folder create a file a file cron.yaml. This file can be named whatever you -wish. But it has to be a yaml file.

File below (.github/workflows/cron.yaml) describes an action that will trigger -every six hours and it will curl example.com.

However. Be sure that you have enough credits. Free account is not that generous -with the minutes they give you for free. Check more about GitHub Actions usage -on their website https://docs.github.com/en/actions.

# .github/workflows/cron.yaml
-name: Do a curl every 6 hours
-on:
-  schedule:
-    - cron: '0 */6 * * *'
-jobs:
-  cron:
-    runs-on: ubuntu-latest
-    steps:
-      - name: Call some url
-        run: curl 'https://example.com'
-
\ No newline at end of file -- cgit v1.2.3