Streamline github actions #1
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: Overall CI | ||
# targeting pull requests to master branch | ||
on: | ||
workflow_call: | ||
pull_request: | ||
branches: [master] | ||
push: | ||
branches: [master] | ||
jobs: | ||
frontend_ci: | ||
Check failure on line 10 in .github/workflows/Overall_CI.yml GitHub Actions / Overall CIInvalid workflow file
|
||
uses: ./.github/workflows/frontend_CI.yml | ||
backend_ci: | ||
uses: ./.github/workflows/Backend_CI.yml | ||
deploy_production: | ||
name: Deploy Production | ||
needs: [frontend_ci, backend_ci] | ||
if: github.repository == 'CS3213-Frontend-Management-System/master' && github.ref_type == 'tag' | ||
uses: ./.github/workflows/CD_to_AKS.yml |