@@ -87,12 +87,13 @@ jobs:
87
87
88
88
- uses : actions/checkout@v4
89
89
90
- - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
90
+ - name : Check for workflow changes
91
+ # tj-actions/changed-files v44.5.7
92
+ uses : tj-actions/changed-files@c65cd883420fd2eb864698a825fc4162dd94482c
91
93
id : filter
92
94
with :
93
- filters : |
94
- workflows:
95
- - '.github/workflows/**'
95
+ files : |
96
+ .github/workflows/**
96
97
97
98
# see https://github.com/mcdeck/netlify-cms-oauth-provider-php
98
99
- name : Checkout the netlify-cms-oauth-provider-php
@@ -102,13 +103,13 @@ jobs:
102
103
path : netlify-cms-oauth-provider-php
103
104
104
105
- name : Perform the netlify composer install
105
- if : steps.filter.outputs.workflows == 'true'
106
+ if : steps.filter.outputs.any_changed == 'true'
106
107
run : |
107
108
cd netlify-cms-oauth-provider-php
108
109
composer install
109
110
110
111
- name : Copy over the netlify-cms-oauth-provider-php files
111
- if : steps.filter.outputs.workflows == 'true'
112
+ if : steps.filter.outputs.any_changed == 'true'
112
113
uses : burnett01/rsync-deployments@3cccb6851148e6198ed9ed89eb0d1c17b5e58cc7 # v7.0.2
113
114
with :
114
115
switches : -a
@@ -119,7 +120,7 @@ jobs:
119
120
remote_key : ${{ secrets.ORIONROBOTS_DEPLOY_KEY }}
120
121
121
122
- name : Create the oauth environment file
122
- if : steps.filter.outputs.workflows == 'true'
123
+ if : steps.filter.outputs.any_changed == 'true'
123
124
run : |
124
125
(
125
126
echo "OAUTH_CLIENT_ID=${{ secrets.ORIONROBOTS_OAUTH_CLIENT_ID }}"
@@ -130,7 +131,7 @@ jobs:
130
131
) > netlify-cms-oauth-provider-php/.env.local
131
132
132
133
- name : Copy over the oauth environment file
133
- if : steps.filter.outputs.workflows == 'true'
134
+ if : steps.filter.outputs.any_changed == 'true'
134
135
uses : burnett01/rsync-deployments@3cccb6851148e6198ed9ed89eb0d1c17b5e58cc7 # v7.0.2
135
136
with :
136
137
switches : -a
0 commit comments