Skip to content

devops: add github actions workflows to deploy the xodarap-api cloud … #1

devops: add github actions workflows to deploy the xodarap-api cloud …

devops: add github actions workflows to deploy the xodarap-api cloud … #1

Workflow file for this run

on:
push:
branches: [develop, stage, main]
jobs:
dev:
name: deploy cloudrun to dev environment
if: ${{ github.ref == 'refs/heads/develop' || github.base_ref == 'develop' }}
uses: ./_deployment.yaml

Check failure on line 9 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

invalid value workflow reference: no version specified
permissions:
id-token: write
contents: read
with:
environment: development
ref: ${{ github.sha }}
secrets: inherit
staging:
if: ${{ github.ref == 'refs/heads/staging' || github.base_ref == 'staging' }}
uses: ./_deployment.yaml
permissions:
id-token: write
contents: read
with:
environment: staging
ref: ${{ github.sha }}
secrets: inherit
prod:
if: ${{ github.ref == 'refs/heads/main' || github.base_ref == 'main' }}
uses: ./_deployment.yaml
permissions:
id-token: write
contents: read
with:
environment: production
ref: ${{ github.sha }}
secrets: inherit