Skip to content

Commit a0aa343

Browse files
committed
Fix workflow to correctly trigger workflow on release
1 parent ac90132 commit a0aa343

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/virtualmin.dev:virtualmin-nginx.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@ on:
44
push:
55
branches:
66
- master
7-
tags:
8-
- '*'
7+
release:
8+
types:
9+
- published
10+
- edited
911

1012
jobs:
1113
build:
1214
uses: webmin/webmin-ci-cd/.github/workflows/master-workflow.yml@main
1315
with:
1416
build-type: module
1517
project-name: ${{ github.event.repository.name }}
16-
tagged-release: ${{ startsWith(github.ref, 'refs/tags/') }}
18+
is-release: ${{ github.event_name == 'release' }}
1719
secrets:
1820
DEV_GPG_PH: ${{ secrets.DEV_GPG_PH }}
1921
DEV_IP_ADDR: ${{ secrets.DEV_IP_ADDR }}

0 commit comments

Comments
 (0)