mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
ci: set environment for release workflow
This commit is contained in:
parent
c16970f450
commit
898eec2af3
1 changed files with 2 additions and 0 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
@ -12,6 +12,7 @@ concurrency:
|
|||
|
||||
jobs:
|
||||
dockerize:
|
||||
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'release' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -79,6 +80,7 @@ jobs:
|
|||
|
||||
|
||||
create-github-release:
|
||||
environment: release
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue