mirror of
https://github.com/bitwarden/browser
synced 2024-12-25 01:22:26 +01:00
Allow Build Web workflow to trigger on new tags (#7856)
This commit is contained in:
parent
2525a3707f
commit
8c3754fd43
4
.github/workflows/build-web.yml
vendored
4
.github/workflows/build-web.yml
vendored
@ -25,6 +25,8 @@ on:
|
||||
- '!*.md'
|
||||
- '!*.txt'
|
||||
- '.github/workflows/build-web.yml'
|
||||
release:
|
||||
types: [published]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
custom_tag_extension:
|
||||
@ -217,7 +219,7 @@ jobs:
|
||||
if [[ $(grep "pull" <<< "${GITHUB_REF}") ]]; then
|
||||
IMAGE_TAG=$(echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g")
|
||||
else
|
||||
IMAGE_TAG=$(echo "${GITHUB_REF:11}" | sed "s#/#-#g")
|
||||
IMAGE_TAG=$(echo "${GITHUB_REF_NAME}" | sed "s#/#-#g")
|
||||
fi
|
||||
|
||||
if [[ "$IMAGE_TAG" == "main" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user