chore: update workflow triggers to use workflow_dispatch

This commit is contained in:
karl
2025-05-30 11:00:27 +08:00
parent 53764fe648
commit 9742ca11a9
4 changed files with 18 additions and 14 deletions

View File

@@ -1,9 +1,10 @@
name: Release
on:
push:
branches:
- main # or whatever branch you want to use
# push:
# branches:
# - main # or whatever branch you want to use
workflow_dispatch:
jobs:
release:

View File

@@ -2,12 +2,12 @@ name: Create and publish Docker images with specific build args
on:
workflow_dispatch:
push:
branches:
- main
- dev
tags:
- v*
# push:
# branches:
# - main
# - dev
# tags:
# - v*
env:
REGISTRY: ghcr.io

View File

@@ -22,6 +22,8 @@ jobs:
build:
name: 'Format & Build Frontend'
runs-on: ubuntu-latest
env:
NODE_OPTIONS: '--max-old-space-size=4096'
steps:
- name: Checkout Repository
uses: actions/checkout@v4

View File

@@ -1,11 +1,12 @@
name: Release to PyPI
on:
push:
branches:
- main # or whatever branch you want to use
- pypi-release
# push:
# branches:
# - main # or whatever branch you want to use
# - pypi-release
workflow_dispatch:
jobs:
release:
runs-on: ubuntu-latest