Skip to content

Commit

Permalink
Fix workflow to correctly trigger workflow on release
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Jan 10, 2025
1 parent 3d0c509 commit 425c271
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/virtualmin.dev:webmin-jailkit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,18 @@ on:
push:
branches:
- master
tags:
- '*'
release:
types:
- published
- edited

jobs:
build:
uses: webmin/webmin-ci-cd/.github/workflows/master-workflow.yml@main
with:
build-type: module
project-name: ${{ github.event.repository.name }}
tagged-release: ${{ startsWith(github.ref, 'refs/tags/') }}
is-release: ${{ github.event_name == 'release' }}
secrets:
DEV_GPG_PH: ${{ secrets.DEV_GPG_PH }}
DEV_IP_ADDR: ${{ secrets.DEV_IP_ADDR }}
Expand Down

0 comments on commit 425c271

Please sign in to comment.