Skip to content

Commit

Permalink
ci: fix release workflow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Feb 8, 2024
1 parent 951bd75 commit 9d3b892
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
name: Release

on:
push:
branches:
- master
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}

jobs:
dockerize:
if: startsWith(github.ref, 'refs/tags/')
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'release' || '' }}
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 9d3b892

Please sign in to comment.