Skip to content

feat: Add path filtering to workflows #87

feat: Add path filtering to workflows

feat: Add path filtering to workflows #87

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
pull_request:
branches:
- '**'
jobs:
backend:
if: ${{ steps.filter.outputs.matched }}

Check failure on line 13 in .github/workflows/flow.yml

View workflow run for this annotation

GitHub Actions / Build and Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/flow.yml (Line: 13, Col: 13): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.filter.outputs.matched .github/workflows/flow.yml (Line: 17, Col: 13): Unrecognized named-value: 'steps'. Located at position 1 within expression: steps.filter-frontend.outputs.matched
uses: ./.github/workflows/backend.yml
secrets: inherit
frontend:
if: ${{ steps.filter-frontend.outputs.matched }}
uses: ./.github/workflows/frontend.yml
secrets: inherit
deployment:
needs: [backend, frontend]
uses: ./.github/workflows/deployment.yml
secrets: inherit