ci: skip production deploy on dev dispatch

This commit is contained in:
zl-q
2026-07-27 11:50:15 +08:00
parent 6b0baa0333
commit 7e06100f7a
@@ -99,6 +99,7 @@ jobs:
deploy-production: deploy-production:
needs: build-backend-image needs: build-backend-image
if: github.event_name != 'workflow_dispatch' || github.ref == 'refs/heads/main'
runs-on: wsl2-docker-host runs-on: wsl2-docker-host
steps: steps:
- name: Validate deploy configuration - name: Validate deploy configuration