mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
v0.2.1: fix + chore (#585)
* fix: icon properties error * chore(ci): run ci on staging + migrations (#575) * fix: eleven labs deployment returning uploaded blob (#583) * fix(eleven-labs): fixed URL path (#584) * fix: eleven labs deployment returning uploaded blob * fix: added better URL pattern --------- Co-authored-by: Aditya Tripathi <aditya@climactic.co>
This commit is contained in:
co-authored by
Aditya Tripathi
parent
bf0ea10e62
commit
805b245ca9
@@ -2,9 +2,9 @@ name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [main, staging]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
branches: [main, staging]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
@@ -56,7 +56,7 @@ jobs:
|
||||
migrations:
|
||||
name: Apply Database Migrations
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
|
||||
needs: test
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -73,5 +73,5 @@ jobs:
|
||||
- name: Apply migrations
|
||||
working-directory: ./apps/sim
|
||||
env:
|
||||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
||||
DATABASE_URL: ${{ github.ref == 'refs/heads/main' && secrets.DATABASE_URL || secrets.STAGING_DATABASE_URL }}
|
||||
run: bunx drizzle-kit push
|
||||
|
||||
Reference in New Issue
Block a user