Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Try again

Try again #2

Workflow file for this run

name: cd
on:
push:
branches: [main]
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Run bashscript
run: ./scripts/buildprod.sh
- name: Auth
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- name: Setup cloud sdk
uses: 'google-github-actions/setup-gcloud@v2'
- name: 'Use gcloud CLI'
run: 'gcloud info'
- name: 'Build on GCP'
run: 'gcloud builds submit --tag us-central1-docker.pkg.dev/notely-435005/notely-ar-repo/notely:release .'