mirror of
https://github.com/IT4Change/boilerplate-backend.git
synced 2025-12-12 18:05:49 +00:00
add vuepress related filtering to deploy docs workflow
This commit is contained in:
parent
d044ed7678
commit
814414ab57
4
.github/file-filters.yml
vendored
4
.github/file-filters.yml
vendored
@ -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'
|
||||
16
.github/workflows/backend.deploy.docs.yml
vendored
16
.github/workflows/backend.deploy.docs.yml
vendored
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user