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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user