@@ -36,6 +36,8 @@ concurrency:
36
36
jobs :
37
37
build_site :
38
38
uses : ./.github/workflows/on_call_build_site.yaml
39
+ with :
40
+ push_tag : " latest"
39
41
40
42
staging_test :
41
43
uses : ./.github/workflows/on_call_staging_test.yaml
@@ -85,12 +87,13 @@ jobs:
85
87
86
88
- uses : actions/checkout@v4
87
89
88
- - 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
89
93
id : filter
90
94
with :
91
- filters : |
92
- workflows:
93
- - '.github/workflows/**'
95
+ files : |
96
+ .github/workflows/**
94
97
95
98
# see https://github.com/mcdeck/netlify-cms-oauth-provider-php
96
99
- name : Checkout the netlify-cms-oauth-provider-php
@@ -100,13 +103,13 @@ jobs:
100
103
path : netlify-cms-oauth-provider-php
101
104
102
105
- name : Perform the netlify composer install
103
- if : steps.filter.outputs.workflows == 'true'
106
+ if : steps.filter.outputs.any_changed == 'true'
104
107
run : |
105
108
cd netlify-cms-oauth-provider-php
106
109
composer install
107
110
108
111
- name : Copy over the netlify-cms-oauth-provider-php files
109
- if : steps.filter.outputs.workflows == 'true'
112
+ if : steps.filter.outputs.any_changed == 'true'
110
113
uses : burnett01/rsync-deployments@3cccb6851148e6198ed9ed89eb0d1c17b5e58cc7 # v7.0.2
111
114
with :
112
115
switches : -a
@@ -117,7 +120,7 @@ jobs:
117
120
remote_key : ${{ secrets.ORIONROBOTS_DEPLOY_KEY }}
118
121
119
122
- name : Create the oauth environment file
120
- if : steps.filter.outputs.workflows == 'true'
123
+ if : steps.filter.outputs.any_changed == 'true'
121
124
run : |
122
125
(
123
126
echo "OAUTH_CLIENT_ID=${{ secrets.ORIONROBOTS_OAUTH_CLIENT_ID }}"
@@ -128,7 +131,7 @@ jobs:
128
131
) > netlify-cms-oauth-provider-php/.env.local
129
132
130
133
- name : Copy over the oauth environment file
131
- if : steps.filter.outputs.workflows == 'true'
134
+ if : steps.filter.outputs.any_changed == 'true'
132
135
uses : burnett01/rsync-deployments@3cccb6851148e6198ed9ed89eb0d1c17b5e58cc7 # v7.0.2
133
136
with :
134
137
switches : -a
0 commit comments