Skip to content

bug fix to transcribe function that wouldn't allow non webhook requests #66

bug fix to transcribe function that wouldn't allow non webhook requests

bug fix to transcribe function that wouldn't allow non webhook requests #66

Workflow file for this run

name: Deploy to Google Cloud Run
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Google Cloud SDK
uses: google-github-actions/setup-gcloud@v1
with:
version: 'latest'
service_account_key: ${{ secrets.GCP_SA_KEY }}
project_id: ${{ secrets.GCP_PROJECT_ID }}
- name: Increment version and tag release
id: tag_version
uses: anothrnick/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: patch
tag_prefix: ''
- name: Get the version
run: echo "Release version: ${{ steps.tag_version.outputs.new_tag }}"

Check failure on line 32 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
- name: Authenticate Docker with Google Cloud
run: gcloud auth configure-docker
- name: Build Docker Image
run: docker build -t gcr.io/${{ secrets.GCP_PROJECT_ID }}/my-app-image:${{ steps.tag_version.outputs.new_tag }} .
- name: Push Docker Image to Google Container Registry
run: docker push gcr.io/${{ secrets.GCP_PROJECT_ID }}/my-app-image:${{ steps.tag_version.outputs.new_tag }}
- name: Deploy to Google Cloud Run
run: |
gcloud run deploy my-app-service \
--image gcr.io/${{ secrets.GCP_PROJECT_ID }}/my-app-image:${{ steps.tag_version.outputs.new_tag }} \
--region ${{ secrets.GCP_REGION }} \
--platform managed \
--allow-unauthenticated