Skip to content

Commit 8aed85b

Browse files
committed
chore: add cronjob
Signed-off-by: Urban Vidovič <[email protected]>
1 parent 2638f8f commit 8aed85b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/cron.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CRON Jobs
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
env:
7+
SUPABASE_ANON_PUBLIC: ${{ secrets.SUPABASE_ANON_PUBLIC }}
8+
SUPABASE_PATH: ${{ secrets.SUPABASE_PATH }}
9+
jobs:
10+
main:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- name: Supabase keepalive
17+
run: chmod +x scripts/supabase/keep-alive.sh && scripts/supabase/keep-alive.sh

0 commit comments

Comments
 (0)