chore(main): release 2.215.1 (#6701) #430
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: API Deploy to Production ECS | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| paths: | |
| - api/** | |
| - .github/** | |
| - infrastructure/aws/production/** | |
| concurrency: | |
| group: ${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| deploy-ecs: | |
| uses: ./.github/workflows/.reusable-deploy-ecs.yml | |
| with: | |
| environment: production | |
| secrets: inherit | |
| mcp-schema-push: | |
| name: Push MCP Schema to Gram | |
| runs-on: depot-ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: api | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Poetry | |
| run: make install-poetry | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: poetry | |
| - name: Install dependencies | |
| run: | | |
| echo "https://${{ secrets.GH_PRIVATE_ACCESS_TOKEN }}:@github.com" > ${HOME}/.git-credentials | |
| git config --global credential.helper store | |
| make install-packages opts="--with saml,auth-controller,workflows,release-pipelines" | |
| make install-private-modules | |
| rm -rf ${HOME}/.git-credentials | |
| - name: Generate MCP schema | |
| run: make generate-mcp-spec | |
| - name: Install Gram CLI | |
| run: curl -fsSL https://go.getgram.ai/cli.sh | bash | |
| - name: Push to Gram | |
| env: | |
| GRAM_API_KEY: ${{ secrets.GRAM_API_KEY }} | |
| GRAM_ORG: ${{ vars.GRAM_ORG }} | |
| GRAM_PROJECT: ${{ vars.GRAM_PROJECT }} | |
| run: gram push --api-key "$GRAM_API_KEY" --org "$GRAM_ORG" --project "$GRAM_PROJECT" --config gram.json |