Manually Provision K8s manifests #10
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: "Provision K8s manifests" | |
on: | |
workflow_dispatch: | |
jobs: | |
kubernetes: | |
name: "Provision K8s manifests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Authenticate to Google Cloud | |
uses: google-github-actions/auth@v1 | |
with: | |
credentials_json: ${{ secrets.OWNER_SA_KEY }} | |
- name: Install Google Cloud SDK | |
uses: google-github-actions/setup-gcloud@v1 | |
- name: Setup GKE Auth | |
uses: simenandre/setup-gke-gcloud-auth-plugin@v1 | |
- name: Get GKE Credentials | |
uses: google-github-actions/get-gke-credentials@v1 | |
with: | |
cluster_name: automl-cluster | |
location: us-east1-b | |
- name: Deploy to GKE | |
run: | | |
kubectl apply -f cloud-infra/k8s/ |