Skip to content

Commit

Permalink
fix: schedule and no restore
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Nov 9, 2023
1 parent dde30e6 commit 328dbd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 43 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/backup-db.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: Supa-backup

on:
push:
branches: [ development ]
pull_request:
branches: [ development ]
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"

jobs:
jobs:
run_db_backup:
runs-on: ubuntu-latest
permissions:
Expand All @@ -18,9 +14,7 @@ jobs:
supabase_db_url: ${{ secrets.SUPABASE_DB_URL }}
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}


- uses: supabase/setup-cli@v1
with:
version: latest
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/restore-db

This file was deleted.

0 comments on commit 328dbd5

Please sign in to comment.