fix: cicd workflow interdependency (#13)
All checks were successful
CI / test (push) Successful in 1m38s

Co-authored-by: Timo Behrendt <t.behrendt@t00n.de>
Co-committed-by: Timo Behrendt <t.behrendt@t00n.de>
This commit was merged in pull request #13.
This commit is contained in:
2024-08-11 12:28:30 +02:00
committed by t.behrendt
parent 1a25992f03
commit e0412f87b6
2 changed files with 3 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ name: CD
on: on:
workflow_run: workflow_run:
workflows: ["CI"] workflows: ["ci.yaml"]
branches: [main] branches: [main]
types: types:
- completed - completed
@@ -14,6 +14,7 @@ jobs:
build_and_push: build_and_push:
name: Build and push name: Build and push
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4

View File

@@ -1,4 +1,5 @@
name: CI name: CI
on: on:
pull_request: pull_request:
push: push: