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