mirror of
https://github.com/pushbits/server.git
synced 2025-05-01 19:26:41 +02:00
Add debug output for CI pipeline
This commit is contained in:
parent
32e68b9df7
commit
930305e912
1 changed files with 2 additions and 0 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -21,7 +21,9 @@ jobs:
|
|||
if: ${{ startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' }} # Otherwise will fail on pull requests.
|
||||
run: |
|
||||
raw=$(git branch -r --contains ${{ github.ref }})
|
||||
echo "$raw"
|
||||
branch=${raw##*/}
|
||||
echo "$branch"
|
||||
echo "BRANCH=$branch" >> $GITHUB_ENV
|
||||
- name: Login to Docker Hub
|
||||
if: ${{ startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push' && env.BRANCH == 'master' }} # Only login for tagged commits pushed to master.
|
||||
|
|
Loading…
Add table
Reference in a new issue