Skip to content

Workflow file for this run

name: 🧹 Clean Database
on:
push:
branches:
- dev
jobs:
refresh:
name: 🧹 Clean Database
runs-on: ubuntu-22.04
steps:
- name: 🧹 Clean Database
run: curl -X POST -H 'Authorization: Bearer ${{ secrets.STAGING_TURSO_DB_AUTH_TOKEN }}' -H 'Content-Type: application/json' -d '{ "requests": [ { "type": "execute", "stmt": { "sql": "DELETE FROM session WHERE expiration_at < unixepoch()*1000" } }, { "type": "close" } ] }' https://${{ secrets.TURSO_DATABASE_NAME }}-${{ secrets.TURSO_ORG_NAME}}.turso.io/v2/pipeline

Check failure on line 14 in .github/workflows/clean-db.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/clean-db.yml

Invalid workflow file

You have an error in your yaml syntax on line 14