ci: skip deployment for commits with [dev] or [skip-deploy]

Allows building Docker images without triggering production deployment by
adding [dev] or [skip-deploy] to the commit message.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Paul R Kartchner
2026-01-17 00:09:06 -07:00
parent d87210f8d3
commit 1ec5e5f189

View File

@@ -398,7 +398,8 @@ jobs:
name: Trigger Deployment
runs-on: ubuntu-latest
needs: docker-build-and-push
if: success()
# Skip deployment if commit message contains [skip-deploy] or [dev]
if: success() && !contains(github.event.head_commit.message, '[skip-deploy]') && !contains(github.event.head_commit.message, '[dev]')
steps:
- name: Trigger webhook
run: |