Skip to content

Commit

Permalink
Fix workflow to correctly trigger workflow on release
Browse files Browse the repository at this point in the history
[no-build]
  • Loading branch information
iliajie committed Jan 10, 2025
1 parent 7a759df commit b998bf1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/webmin.dev:usermin.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: package
project-name: usermin
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 b998bf1

Please sign in to comment.