0
Fork 0
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:
Gao Sun 2024-02-19 09:56:52 +08:00 committed by GitHub
parent 76a35247fd
commit b54a5388d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: