Skip to content

Commit

Permalink
fix: modify cd
Browse files Browse the repository at this point in the history
  • Loading branch information
NEM-NE committed Oct 26, 2022
1 parent 9001888 commit f1e4634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
id: replace_version
with:
source: ${{ github.ref_name }}
find: 'release/v'
find: 'v'
replace: ''
- name: Check Release
uses: haya14busa/[email protected]
id: version
with:
cond: ${{ startsWith(github.ref_name, 'release') }}
cond: ${{ startsWith(github.ref_name, 'v') }}
if_true: ${{ steps.replace_version.outputs.value }}
if_false: "latest"
- name: Build and push
Expand Down

0 comments on commit f1e4634

Please sign in to comment.