mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 15:07:55 -05:00
Remove migrations ci (#1501)
This commit is contained in:
committed by
GitHub
parent
e9150a53e3
commit
e76fc8c2da
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -36,23 +36,10 @@ jobs:
|
|||||||
uses: ./.github/workflows/trigger-deploy.yml
|
uses: ./.github/workflows/trigger-deploy.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
# Run database migrations (depends on build completion and trigger deployment)
|
|
||||||
migrations:
|
|
||||||
name: Apply Database Migrations
|
|
||||||
needs: [build-images, trigger-deploy]
|
|
||||||
if: |
|
|
||||||
always() &&
|
|
||||||
github.event_name == 'push' &&
|
|
||||||
(github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging') &&
|
|
||||||
needs.build-images.result == 'success' &&
|
|
||||||
needs.trigger-deploy.result == 'success'
|
|
||||||
uses: ./.github/workflows/migrations.yml
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
# Process docs embeddings if needed
|
# Process docs embeddings if needed
|
||||||
process-docs:
|
process-docs:
|
||||||
name: Process Docs
|
name: Process Docs
|
||||||
needs: migrations
|
needs: [build-images, trigger-deploy]
|
||||||
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
|
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/staging')
|
||||||
uses: ./.github/workflows/docs-embeddings.yml
|
uses: ./.github/workflows/docs-embeddings.yml
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
Reference in New Issue
Block a user