We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b037232 commit 70c8398Copy full SHA for 70c8398
.github/workflows/deploy.yml
@@ -6,8 +6,25 @@ on:
6
- master
7
8
jobs:
9
+ changes:
10
+ runs-on: ubuntu-latest
11
+ outputs:
12
+ 1.1.1.1: ${{ steps.filter.outputs.1.1.1.1 }}
13
+ access: ${{ steps.filter.outputs.access }}
14
+ steps:
15
+ - uses: dorny/paths-filter@v2
16
+ id: filter
17
+ with:
18
+ filters: |
19
+ 1.1.1.1:
20
+ - 'products/1.1.1.1/**'
21
+ access:
22
+ - 'products/access/**'
23
+
24
deploy-1-1-1-1:
25
runs-on: ubuntu-latest
26
+ needs: changes
27
+ if: ${{ needs.changes.outputs.1.1.1.1 == 'true' }}
28
defaults:
29
run:
30
shell: bash
@@ -29,6 +46,8 @@ jobs:
46
47
deploy-access:
31
48
49
50
+ if: ${{ needs.changes.outputs.access == 'true' }}
32
51
33
52
34
53
0 commit comments