Skip to content

Commit

Permalink
Merge pull request #7 from brocolidata/generate/v1.0.0
Browse files Browse the repository at this point in the history
base_ref -> ref in CD
  • Loading branch information
amirbtb authored Jan 3, 2023
2 parents ce6fbc8 + 60870db commit e780c30
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 e780c30

Please sign in to comment.