mirror of
https://github.com/bitwarden/browser
synced 2024-12-25 17:32:46 +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'
|
- '!*.md'
|
||||||
- '!*.txt'
|
- '!*.txt'
|
||||||
- '.github/workflows/build-web.yml'
|
- '.github/workflows/build-web.yml'
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
custom_tag_extension:
|
custom_tag_extension:
|
||||||
@ -217,7 +219,7 @@ jobs:
|
|||||||
if [[ $(grep "pull" <<< "${GITHUB_REF}") ]]; then
|
if [[ $(grep "pull" <<< "${GITHUB_REF}") ]]; then
|
||||||
IMAGE_TAG=$(echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g")
|
IMAGE_TAG=$(echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g")
|
||||||
else
|
else
|
||||||
IMAGE_TAG=$(echo "${GITHUB_REF:11}" | sed "s#/#-#g")
|
IMAGE_TAG=$(echo "${GITHUB_REF_NAME}" | sed "s#/#-#g")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$IMAGE_TAG" == "main" ]]; then
|
if [[ "$IMAGE_TAG" == "main" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user