@@ -36,6 +36,8 @@ concurrency:
3636jobs :
3737 build_site :
3838 uses : ./.github/workflows/on_call_build_site.yaml
39+ with :
40+ push_tag : " latest"
3941
4042 staging_test :
4143 uses : ./.github/workflows/on_call_staging_test.yaml
@@ -85,12 +87,13 @@ jobs:
8587
8688 - uses : actions/checkout@v4
8789
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
8993 id : filter
9094 with :
91- filters : |
92- workflows:
93- - '.github/workflows/**'
95+ files : |
96+ .github/workflows/**
9497
9598 # see https://github.com/mcdeck/netlify-cms-oauth-provider-php
9699 - name : Checkout the netlify-cms-oauth-provider-php
@@ -100,13 +103,13 @@ jobs:
100103 path : netlify-cms-oauth-provider-php
101104
102105 - name : Perform the netlify composer install
103- if : steps.filter.outputs.workflows == 'true'
106+ if : steps.filter.outputs.any_changed == 'true'
104107 run : |
105108 cd netlify-cms-oauth-provider-php
106109 composer install
107110
108111 - 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'
110113 uses : burnett01/rsync-deployments@3cccb6851148e6198ed9ed89eb0d1c17b5e58cc7 # v7.0.2
111114 with :
112115 switches : -a
@@ -117,7 +120,7 @@ jobs:
117120 remote_key : ${{ secrets.ORIONROBOTS_DEPLOY_KEY }}
118121
119122 - name : Create the oauth environment file
120- if : steps.filter.outputs.workflows == 'true'
123+ if : steps.filter.outputs.any_changed == 'true'
121124 run : |
122125 (
123126 echo "OAUTH_CLIENT_ID=${{ secrets.ORIONROBOTS_OAUTH_CLIENT_ID }}"
@@ -128,7 +131,7 @@ jobs:
128131 ) > netlify-cms-oauth-provider-php/.env.local
129132
130133 - name : Copy over the oauth environment file
131- if : steps.filter.outputs.workflows == 'true'
134+ if : steps.filter.outputs.any_changed == 'true'
132135 uses : burnett01/rsync-deployments@3cccb6851148e6198ed9ed89eb0d1c17b5e58cc7 # v7.0.2
133136 with :
134137 switches : -a
0 commit comments