chore: update CI/CD pipeline configuration for improved branch handling
- Renamed the CI/CD pipeline for clarity and consistency. - Updated the branch triggers to include 'dev-*' for better integration of development branches. - Removed the URL setting for the production environment to streamline the deployment process.
This commit is contained in:
5
.github/workflows/pipeline.yml
vendored
5
.github/workflows/pipeline.yml
vendored
@@ -1,8 +1,8 @@
|
|||||||
name: CI/CD Pipeline
|
name: CI & CD pipeline
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main, develop, 'feature/**' ]
|
branches: [ main, 'develop', 'dev-*', 'feature/**' ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, develop ]
|
branches: [ main, develop ]
|
||||||
|
|
||||||
@@ -70,7 +70,6 @@ jobs:
|
|||||||
if: success() && github.ref == 'refs/heads/main'
|
if: success() && github.ref == 'refs/heads/main'
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
url: https://${{ vars.SERVER_HOST || secrets.SERVER_HOST }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|||||||
Reference in New Issue
Block a user