Skip to content

Commit

Permalink
Add CI workflow to migrate the database
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Aug 8, 2024
1 parent 1ae7113 commit 1856d03
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/db.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Astro Studio

env:
ASTRO_STUDIO_APP_TOKEN: ${{secrets.ASTRO_STUDIO_APP_TOKEN }}

on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]

jobs:
DB:
permissions:
contents: read
actions: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm

- name: Install dependencies
run: npm ci

- name: Verify database schema
uses: withastro/action-studio@main

0 comments on commit 1856d03

Please sign in to comment.