Skip to content

Commit

Permalink
add tag for current branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tonygard-indecon committed Nov 14, 2023
1 parent a9d222e commit ed2e3ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create_data_only_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
branch_name:
type: string
description: Type suffix to your branch name data_only_branch_*


jobs:
get_data:
Expand All @@ -28,7 +28,7 @@ jobs:
git symbolic-ref HEAD refs/heads/data_only_branch_${{ github.event.inputs.branch_name }}
rm .git/index
git clean -fdx
git checkout main ./data
git checkout ${GITHUB_REF##*/} ./data
git add ./data/*
git commit -am "creating data only branch on data_only_branch_${{ github.event.inputs.branch_name }}"
git fetch origin
Expand Down

0 comments on commit ed2e3ca

Please sign in to comment.