ci: fix workflow location #1
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
name: Deploy to Cloud Run | |
on: | |
push: | |
branches: | |
- main | |
env: | |
PROJECT_ID: coder-labeler | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Set up Cloud SDK | |
uses: google-github-actions/setup-gcloud@v1 | |
with: | |
project_id: coder-labeler | |
service_account_key: ${{ secrets.GCP_SA_KEY }} | |
- name: Configure Docker | |
run: gcloud auth configure-docker us-central1-docker.pkg.dev | |
- name: Deploy using Makefile | |
run: make deploy |