From 60870db781c4dd34a0432c7948246df2209fe31d Mon Sep 17 00:00:00 2001 From: Amir B Date: Tue, 3 Jan 2023 01:53:00 +0100 Subject: [PATCH] base_ref -> ref in CD --- .github/workflows/dbt_docs_CD.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dbt_docs_CD.yml b/.github/workflows/dbt_docs_CD.yml index 6f3196c0..16301c25 100644 --- a/.github/workflows/dbt_docs_CD.yml +++ b/.github/workflows/dbt_docs_CD.yml @@ -14,7 +14,7 @@ defaults: jobs: release_data_catalog: name: 'Release dbt-docs' - # if: startsWith(github.base_ref, 'generate/v') + # if: startsWith(github.ref, 'generate/v') runs-on: ubuntu-latest steps: @@ -22,12 +22,12 @@ jobs: uses: actions/checkout@v3 - name: 'First debug' - run: echo ${{ github.base_ref }} + run: echo ${{ github.ref }} - name: 'Split branch name' id: get_tag_version env: - BRANCH: ${{ github.base_ref }} + BRANCH: ${{ github.ref }} run: | echo "RELEASE_VERSION=${BRANCH##generate/}" >> $GITHUB_ENV echo ${{ env.RELEASE_VERSION }}