ci(gitea): serialize pipeline into Validators -> Prepare Release -> Deploy sequence
This commit is contained in:
@@ -2,7 +2,7 @@ name: Deploy to Production
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Prepare Release", "Validators (Pushes and Pull Requests)"]
|
||||
workflows: ["Prepare Release"]
|
||||
types: [completed]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
name: Prepare Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
workflow_run:
|
||||
workflows: ["Validators (Pushes and Pull Requests)"]
|
||||
types: [completed]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
@@ -16,6 +17,7 @@ env:
|
||||
jobs:
|
||||
build-and-release:
|
||||
name: Build & Create Release
|
||||
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
outputs:
|
||||
|
||||
Reference in New Issue
Block a user