ci: reduce deployment events on pull requests
This commit is contained in:
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
@@ -9,7 +9,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
flavor:
|
flavor:
|
||||||
description: 'Build type (canary, beta, internal or stable)'
|
description: 'Build type (canary, beta, or stable)'
|
||||||
type: string
|
type: string
|
||||||
default: canary
|
default: canary
|
||||||
|
|
||||||
@@ -40,7 +40,6 @@ jobs:
|
|||||||
build-core:
|
build-core:
|
||||||
name: Build @affine/core
|
name: Build @affine/core
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: production
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -68,7 +67,6 @@ jobs:
|
|||||||
build-storage:
|
build-storage:
|
||||||
name: Build Storage
|
name: Build Storage
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: ${{ github.event.inputs.flavor }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -90,7 +88,6 @@ jobs:
|
|||||||
build-storage-arm64:
|
build-storage-arm64:
|
||||||
name: Build Storage arm64
|
name: Build Storage arm64
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: ${{ github.event.inputs.flavor }}
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -112,7 +109,6 @@ jobs:
|
|||||||
build-docker:
|
build-docker:
|
||||||
name: Build Docker
|
name: Build Docker
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: ${{ github.event.inputs.flavor }}
|
|
||||||
needs:
|
needs:
|
||||||
- build-server
|
- build-server
|
||||||
- build-core
|
- build-core
|
||||||
|
|||||||
Reference in New Issue
Block a user