Skip to content

Commit c6c47f3

Browse files
committed
Add support for tagged releases [no-build]
1 parent 6e8ac3a commit c6c47f3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,22 @@ on:
44
push:
55
branches:
66
- master
7+
tags:
8+
- '*'
79

810
jobs:
911
build:
10-
uses: webmin/webmin-ci-cd/.github/workflows/testing-master-workflow.yml@main
12+
uses: webmin/webmin-ci-cd/.github/workflows/master-workflow.yml@main
1113
with:
1214
build-type: module
1315
project-name: ${{ github.event.repository.name }}
16+
tagged-release: ${{ startsWith(github.ref, 'refs/tags/') }}
1417
secrets:
1518
DEV_GPG_PH: ${{ secrets.DEV_GPG_PH }}
1619
DEV_IP_ADDR: ${{ secrets.DEV_IP_ADDR }}
1720
DEV_IP_KNOWN_HOSTS: ${{ secrets.DEV_IP_KNOWN_HOSTS }}
1821
DEV_UPLOAD_SSH_USER: ${{ secrets.DEV_UPLOAD_SSH_USER }}
1922
DEV_UPLOAD_SSH_DIR: ${{ secrets.DEV_UPLOAD_SSH_DIR }}
23+
PRERELEASE_UPLOAD_SSH_DIR: ${{ secrets.PRERELEASE_UPLOAD_SSH_DIR }}
2024
DEV_SSH_PRV_KEY: ${{ secrets.DEV_SSH_PRV_KEY }}
2125
DEV_SIGN_BUILD_REPOS_CMD: ${{ secrets.DEV_SIGN_BUILD_REPOS_CMD }}

0 commit comments

Comments
 (0)