Skip to content

fix(ci): skip deployment for npm package releases#66

Merged
KyleTryon merged 1 commit into
mainfrom
dev
Dec 3, 2025
Merged

fix(ci): skip deployment for npm package releases#66
KyleTryon merged 1 commit into
mainfrom
dev

Conversation

@KyleTryon
Copy link
Copy Markdown
Contributor

This pull request updates the Cloudflare deployment workflow to ensure deployments only occur for app releases (tags starting with v*), and not for package releases (tags like @tuvixrss/*). The workflow now checks the release tag format before proceeding with deployment jobs, preventing unnecessary deployments for package releases.

Release type check and conditional deployment:

  • Added a new check-release-type job to determine if the workflow should deploy, based on the release tag format. Only tags matching v* will trigger deployment; package releases will be skipped. (.github/workflows/deploy-cloudflare.yml)

Deployment job dependencies and conditions:

  • Updated deploy-api and deploy-app jobs to depend on check-release-type and only run if an app release is detected (should-deploy == 'true'). (.github/workflows/deploy-cloudflare.yml)
  • Modified the notify job to depend on check-release-type, deploy-api, and deploy-app, and to only notify if an app release is being deployed. (.github/workflows/deploy-cloudflare.yml)

Add check-release-type job to filter deployment triggers:
- App releases (v*) trigger full Cloudflare deployment
- Package releases (@tuvixrss/*) skip deployment
- All jobs now depend on this check to prevent unwanted deployments

This prevents npm package tags like @tuvixrss/tricorder@0.1.0 from
triggering production deployments.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@KyleTryon KyleTryon merged commit f0ba29e into main Dec 3, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant