We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1bc0ce3 + 4c52d68 commit ba27535Copy full SHA for ba27535
.github/workflows/push.yml
@@ -1,11 +1,5 @@
1
name: Keboola Component Build & Deploy Pipeline
2
-on:
3
- push:
4
- branches:
5
- - 'feature/*'
6
- - 'bug/*'
7
- tags:
8
- - '*' # Skip the workflow on the main branch without tags
+on: [ push ]
9
10
concurrency: ci-${{ github.ref }} # to avoid tag collisions in the ECR
11
env:
@@ -47,7 +41,7 @@ jobs:
47
41
echo "branch_name=$branch_name" | tee -a $GITHUB_OUTPUT
48
42
else
49
43
raw=$(git branch -r --contains ${{ github.ref }})
50
- branch="$(echo ${raw//origin\//} | tr -d '\n')"
44
+ branch="$(echo ${raw/*origin\//} | tr -d '\n')"
51
45
echo "branch_name=$branch" | tee -a $GITHUB_OUTPUT
52
46
fi
53
0 commit comments