fix: cicd workflow interdependency

This commit is contained in:
2024-08-11 12:23:07 +02:00
parent 1a25992f03
commit 36142c0a17

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