Skip to content

Commit

Permalink
base_ref -> ref in CD
Browse files Browse the repository at this point in the history
  • Loading branch information
amirbtb committed Jan 3, 2023
1 parent 6edaa77 commit 60870db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dbt_docs_CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ 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:

- name: 'Git Checkout'
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 }}
Expand Down

0 comments on commit 60870db

Please sign in to comment.