Skip to content

Commit

Permalink
chore(ci): Deploy schema after apps (#1285)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
- Updated CI/CD workflow configurations to improve job dependencies and
execution sequences in both main and staging environments.
- Ensured that schema publishing and end-to-end tests are contingent
upon successful application deployments.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
oskogstad authored Oct 14, 2024
1 parent ab3a9bf commit c3a715f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:

publish-schema-npm:
name: Deploy schema npm package
needs: [check-for-changes, get-current-version, generate-git-short-sha]
needs: [check-for-changes, get-current-version, generate-git-short-sha, deploy-apps-test]
if: ${{ github.event_name == 'workflow_dispatch' || needs.check-for-changes.outputs.hasSchemaChanges == 'true' }}
uses: ./.github/workflows/workflow-publish-schema.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-cd-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:

publish-schema-npm:
name: Publish schema npm package
needs: [check-for-changes, get-current-version]
needs: [check-for-changes, get-current-version, deploy-apps-staging]
if: ${{ github.event_name == 'workflow_dispatch' || needs.check-for-changes.outputs.hasSchemaChanges == 'true' }}
uses: ./.github/workflows/workflow-publish-schema.yml
with:
Expand Down

0 comments on commit c3a715f

Please sign in to comment.