mirror of
https://github.com/matrixgpt/matrix-chatgpt-bot.git
synced 2024-10-01 01:25:41 -04:00
Update release.yml
This commit is contained in:
parent
17155cfde6
commit
22b110273f
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -12,14 +12,6 @@ jobs:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
-
|
||||
name: Check branch
|
||||
run: |
|
||||
BRANCH_NAME=$(git branch --contains ${{ github.sha }} | grep 'main')
|
||||
if [[ -z $BRANCH_NAME ]]; then
|
||||
echo "Tagged commit is not on main branch, aborting."
|
||||
exit 1
|
||||
fi
|
||||
-
|
||||
name: Docker meta
|
||||
id: meta
|
||||
|
Loading…
Reference in New Issue
Block a user