Feature: Use t3 large for AWS deployment (#89) #24
This file contains hidden or 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
| # This workflow builds and publishes the images, then deploys them to the Kubernetes cluster. | |
| # It runs only when code is pushed to the main branch, and is thus considered ready for production. | |
| name: CI/CD | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| # Call the Continuous Integration workflow | |
| ci: | |
| name: Continuous Integration | |
| uses: ./.github/workflows/ci.yml | |
| # Call the kubernetes_deploy workflow to deploy to Rancher | |
| cd_kubernetes: | |
| name: Continuous Deployment (Kubernetes) | |
| needs: ci # wait for build to complete before running | |
| uses: ./.github/workflows/cd_kubernetes.yml | |
| secrets: # Pass KUBECONFIG to called workflow | |
| KUBECONFIG: ${{ secrets.KUBECONFIG }} |