feature: adds autoscaling to web service and pushes images with lates… #425
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: CI and Deploy | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'apps/**' | |
- 'packages/**' | |
- '.github/workflows/**' | |
jobs: | |
lint: | |
uses: ./.github/workflows/lint.yml | |
with: | |
workflow_call: true | |
test: | |
uses: ./.github/workflows/test.yml | |
with: | |
workflow_call: true | |
deploy-apps: | |
needs: [lint, test] | |
strategy: | |
matrix: | |
app: [websockets, workers] | |
uses: ./.github/workflows/deploy-app.yml | |
with: | |
app-name: ${{ matrix.app }} | |
secrets: inherit | |
deploy-web: | |
needs: [lint, test] | |
uses: ./.github/workflows/deploy-web.yml | |
secrets: inherit | |
deploy-gateway: | |
needs: [lint, test] | |
uses: ./.github/workflows/deploy-gateway.yml | |
secrets: inherit |