action: allow manual trigger
All checks were successful
Build and Deploy Quartz / build-and-deploy (push) Has been skipped

This commit is contained in:
2026-01-01 14:20:57 +08:00
parent 4a5acab07d
commit 8c225bb7a0

View File

@@ -4,14 +4,18 @@ on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, 'build')
if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'build')
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0
lfs: true
- name: Set up Node.js
uses: actions/setup-node@v4