add vuepress related filtering to deploy docs workflow

This commit is contained in:
mahula 2024-05-25 21:58:49 +02:00
parent d044ed7678
commit 814414ab57
2 changed files with 19 additions and 1 deletions

View File

@ -14,4 +14,6 @@ backend-test-build-docker: &backend-test-build-docker
backend-test-build-docs: &backend-test-build-docs
- '**/*.md'
- '.vuepress/*'
- '.github/workflows/backend.deploy.docs.yml'
- '.vuepress/*'
- 'package.json'

View File

@ -4,6 +4,22 @@ on:
branches:
- master
jobs:
files-changed:
name: Detect File Changes
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.changes.outputs.backend-test-build-docs }}
steps:
- uses: actions/checkout@master
- name: Check for backend docs file changes
uses: dorny/paths-filter@v3.0.2
id: changes
with:
token: ${{ github.token }}
filters: .github/file-filters.yml
list-files: shell
build-and-deploy:
runs-on: ubuntu-latest
steps: