Spaces:
Sleeping
Sleeping
Zhichao
commited on
fix pipeline minor error (#75)
Browse files
.github/workflows/cicd.yaml
CHANGED
@@ -74,8 +74,8 @@ jobs:
|
|
74 |
- 'prisma/migrations/**'
|
75 |
|
76 |
db_migration:
|
77 |
-
needs:
|
78 |
-
if: ${{ needs.
|
79 |
runs-on: ubuntu-latest
|
80 |
environment: aws-development
|
81 |
|
|
|
74 |
- 'prisma/migrations/**'
|
75 |
|
76 |
db_migration:
|
77 |
+
needs: detect_migration_changes
|
78 |
+
if: ${{ needs.detect_migration_changes.outputs.migrations == 'true' }}
|
79 |
runs-on: ubuntu-latest
|
80 |
environment: aws-development
|
81 |
|