Skip to content

Minor modification to the deploy workflow #47

Minor modification to the deploy workflow

Minor modification to the deploy workflow #47

Workflow file for this run

name: deploy
on:
push:
# branches:
# - production
# - main
jobs:
deploy-py-server-argo:
name: Deploy PY server Argo
uses: ./.github/workflows/helpers-deploy-argo.yaml
secrets:
GH_PAT: ${{ secrets.GH_PAT }}
with:
aws-role-arn: ${{ github.ref == 'refs/heads/production' && secrets.PRODUCTION_ECR_ROLE_ARN || secrets.STAGING_ECR_ROLE_ARN }}

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

View workflow run for this annotation

GitHub Actions / deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 14, Col: 21): Unrecognized named-value: 'secrets'. Located at position 42 within expression: github.ref == 'refs/heads/production' && secrets.PRODUCTION_ECR_ROLE_ARN || secrets.STAGING_ECR_ROLE_ARN