ci: Update GitHub Actions workflow to optimize Rust project builds - … #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
backend: | |
uses: ./.github/workflows/backend.yml | |
secrets: inherit | |
frontend: | |
uses: ./.github/workflows/frontend.yml | |
secrets: inherit | |
deployment: | |
needs: | |
- backend | |
- frontend | |
uses: ./.github/workflows/deployment.yml | |
secrets: inherit |