mirror of
https://github.com/logto-io/logto.git
synced 2025-01-13 21:30:30 -05:00
ci: fix release workflow trigger (#5398)
This commit is contained in:
parent
76a35247fd
commit
b54a5388d5
1 changed files with 4 additions and 0 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -1,6 +1,9 @@
|
||||||
name: Release
|
name: Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
|
@ -8,6 +11,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
dockerize:
|
dockerize:
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'release' || '' }}
|
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'release' || '' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
|
Loading…
Add table
Reference in a new issue