ci: enable auto-deploy for feature branches #10

Merged
xiaoxia merged 1 commits from ci/enable-feature-deploy into main 2026-06-26 18:09:09 +08:00
+5 -5
View File
@@ -1,8 +1,8 @@
name: Deploy
name: Deploy
on:
push:
branches: [ main, develop ]
branches: [ main, develop, "feature/**" ]
tags:
- 'v*'
@@ -10,7 +10,7 @@ jobs:
deploy-staging:
name: Deploy Staging
runs-on: runtime-builder
if: github.ref_name == 'main' || github.ref_name == 'develop'
if: github.ref_name == 'main' || github.ref_name == 'develop' || startsWith(github.ref_name, 'feature/')
steps:
- name: Checkout code
@@ -115,7 +115,7 @@ jobs:
sleep 2
done
exit 1
REMOTE_DEPLOY
REMOTE_DEPLOY
build-production-runtime-images:
name: Build Production Runtime Images
@@ -264,7 +264,7 @@ jobs:
sleep 2
done
exit 1
REMOTE_DEPLOY
REMOTE_DEPLOY
production-e2e:
name: Production Browser E2E