Merge branch 'workflow'

This commit is contained in:
karl 2025-06-12 10:19:33 +08:00
commit f50160194f
5 changed files with 20 additions and 12 deletions

View File

@ -3,7 +3,8 @@ name: Release
on:
push:
branches:
- main # or whatever branch you want to use
- next # 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

@ -5,6 +5,7 @@ on:
branches:
- main
- dev
- next
paths:
- 'backend/**'
- 'pyproject.toml'
@ -13,6 +14,7 @@ on:
branches:
- main
- dev
- next
paths:
- 'backend/**'
- 'pyproject.toml'

View File

@ -5,6 +5,7 @@ on:
branches:
- main
- dev
- next
paths-ignore:
- 'backend/**'
- 'pyproject.toml'
@ -13,6 +14,7 @@ on:
branches:
- main
- dev
- next
paths-ignore:
- 'backend/**'
- 'pyproject.toml'
@ -22,6 +24,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