Skip to content

chore(audit): post-merge CI fix — ruff format + DebugPage auth tests … #156

chore(audit): post-merge CI fix — ruff format + DebugPage auth tests …

chore(audit): post-merge CI fix — ruff format + DebugPage auth tests … #156

name: Notify Deployment
on:
workflow_dispatch:
push:
branches: [main]
paths:
- 'app/**'
- 'api/**'
- 'core/**'
- 'pyproject.toml'
permissions:
contents: read
deployments: write
concurrency:
group: notify-deployment-${{ github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
app: ${{ steps.filter.outputs.app }}
api: ${{ steps.filter.outputs.api }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
id: filter
with:
filters: |
app:
- 'app/**'
api:
- 'api/**'
- 'core/**'
- 'pyproject.toml'
app:
needs: changes
if: needs.changes.outputs.app == 'true'
runs-on: ubuntu-latest
environment:
name: app
url: https://anyplot.ai
steps:
- run: echo "Frontend deployed via Cloud Build"
api:
needs: changes
if: needs.changes.outputs.api == 'true'
runs-on: ubuntu-latest
environment:
name: api
url: https://api.anyplot.ai/docs
steps:
- run: echo "API deployed via Cloud Build"