Skip to content

Commit

Permalink
Update gcp_models.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin authored Jan 16, 2025
1 parent c8c6b93 commit 5401f30
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/gcp_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@ name: Deploy Speech Models to Cloud RUN
# TODO: determine if changes to backend folder before pushing

on:
push:
branches: [ "main", "development" ]
paths:
- 'backend/modal/**'
#push:
# branches: [ "main", "development" ]
# paths:
# - 'backend/modal/**'
workflow_dispatch:
inputs:
environment:
description: 'Select the environment to deploy to'
required: true
default: 'development'
branch:
description: 'Branch to deploy from'
required: true
default: 'main'

env:
SERVICE: models
Expand Down Expand Up @@ -79,4 +89,4 @@ jobs:

# If required, use the Cloud Run url output in later steps
# - name: Show Output
# run: echo ${{ steps.deploy.outputs.url }}
# run: echo ${{ steps.deploy.outputs.url }}

0 comments on commit 5401f30

Please sign in to comment.