1- # v3.800.13
2- # https://virtocommerce.atlassian.net/browse/VCST-2789
1+ # v3.800.15
2+ # https://virtocommerce.atlassian.net/browse/VCST-3725
33name : Module CI
44
55on :
5555 matrix : ${{ steps.deployment-matrix.outputs.matrix }}
5656 run-e2e : ${{ steps.run-e2e.outputs.result }}
5757 run-ui-tests : ${{ steps.run-ui-tests.outputs.result }}
58+ deployment-folder-exists : ${{ steps.check_deployment_folder.outputs.exists }}
5859
5960 steps :
6061
9293 uses : VirtoCommerce/vc-github-actions/get-image-version@master
9394 id : artifact_ver
9495
96+ - name : Check if .deployment folder exists
97+ id : check_deployment_folder
98+ run : |
99+ if [ -d ".deployment" ]; then
100+ echo "exists=true" >> $GITHUB_OUTPUT
101+ echo "Diagnostic: .deployment folder exists."
102+ else
103+ echo "exists=false" >> $GITHUB_OUTPUT
104+ echo "Diagnostic: .deployment folder does NOT exist."
105+ fi
106+
95107 - name : Set VERSION_SUFFIX variable
96108 run : |
97109 if [ '${{ github.event_name }}' = 'workflow_dispatch' ]; then
@@ -264,7 +276,7 @@ jobs:
264276 if : ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push')) ||
265277 (github.event_name == 'workflow_dispatch') || ((github.base_ref == 'dev') && (github.event_name == 'pull_request')) }}
266278 needs : ' ci'
267- uses : VirtoCommerce/.github/.github/workflows/ui-autotests.yml@v3.800.13
279+ uses : VirtoCommerce/.github/.github/workflows/ui-autotests.yml@v3.800.15
268280 with :
269281 installModules : ' false'
270282 installCustomModule : ' true'
@@ -278,7 +290,7 @@ jobs:
278290 if : ${{ ((github.ref == 'refs/heads/dev') && (github.event_name == 'push') && (needs.ci.outputs.run-e2e == 'true')) ||
279291 (github.event_name == 'workflow_dispatch') || (github.base_ref == 'dev') && (github.event_name == 'pull_request') }}
280292 needs : ' ci'
281- uses : VirtoCommerce/.github/.github/workflows/e2e.yml@v3.800.13
293+ uses : VirtoCommerce/.github/.github/workflows/e2e.yml@v3.800.15
282294 with :
283295 katalonRepo : ' VirtoCommerce/vc-quality-gate-katalon'
284296 katalonRepoBranch : ' dev'
@@ -294,9 +306,11 @@ jobs:
294306 katalonApiKey : ${{ secrets.KATALON_API_KEY }}
295307
296308 deploy-cloud :
297- if : ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev') && github.event_name == 'push' }}
309+ if : ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/dev')
310+ && github.event_name == 'push'
311+ && needs.ci.outputs.deployment-folder-exists == 'true'}}
298312 needs : ci
299- uses : VirtoCommerce/.github/.github/workflows/deploy-cloud.yml@v3.800.13
313+ uses : VirtoCommerce/.github/.github/workflows/deploy-cloud.yml@v3.800.15
300314 with :
301315 releaseSource : module
302316 moduleId : ${{ needs.ci.outputs.moduleId }}
0 commit comments