mirror of
https://github.com/IT4Change/boilerplate-e2e-cypress-cucumber.git
synced 2025-12-13 04:55:50 +00:00
set file change check in docs deployment workflow
This commit is contained in:
parent
a35fc94a12
commit
6bd3ab08c8
18
.github/workflows/e2e.deploy.docs.yml
vendored
18
.github/workflows/e2e.deploy.docs.yml
vendored
@ -6,8 +6,26 @@ on:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
files-changed:
|
||||||
|
name: Detect File Changes
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
changes: ${{ steps.changes.outputs.e2e-docs }}
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Check for e2e docs file changes
|
||||||
|
uses: dorny/paths-filter@v3.0.1
|
||||||
|
id: changes
|
||||||
|
with:
|
||||||
|
token: ${{ github.token }}
|
||||||
|
filters: .github/file-filters.yml
|
||||||
|
list-files: shell
|
||||||
|
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
|
if: needs.files-changed.outputs.changes == 'true'
|
||||||
name: Deploy Docs - E2E Testing
|
name: Deploy Docs - E2E Testing
|
||||||
|
needs: files-changed
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user