From a88d9785224c8e2a2de762d02806f3c3b3048599 Mon Sep 17 00:00:00 2001 From: Omar Siam Date: Thu, 31 Oct 2024 17:32:30 +0100 Subject: [PATCH] ref_name is only the very last part --- .github/workflows/starter.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/starter.yaml b/.github/workflows/starter.yaml index b963a6e..55b2365 100644 --- a/.github/workflows/starter.yaml +++ b/.github/workflows/starter.yaml @@ -96,7 +96,7 @@ jobs: needs: [setup_workflow_env, generate_workflow_vars, _1] uses: erc-releven/gl-autodevops-minimal-port/.github/workflows/deploy.yml@main secrets: inherit - if: contains(github.ref_name, 'tags') != true + if: contains(github.ref, 'tags') != true with: environment: ${{ needs.setup_workflow_env.outputs.environment}} fetch-depth: ${{ fromJson(needs.setup_workflow_env.outputs.fetch-depth) }} @@ -105,4 +105,4 @@ jobs: APP_ROOT: ${{ needs.setup_workflow_env.outputs.APP_ROOT }} PUBLIC_URL: ${{ needs.generate_workflow_vars.outputs.PUBLIC_URL }} default_port: "${{ needs.setup_workflow_env.outputs.default_port}}" - submodules: ${{ needs.setup_workflow_env.outputs.submodules }} \ No newline at end of file + submodules: ${{ needs.setup_workflow_env.outputs.submodules }}