Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ci: Only publish if tests pass #86

Merged
merged 2 commits into from
Feb 18, 2023
Merged

ci: Only publish if tests pass #86

merged 2 commits into from
Feb 18, 2023

Conversation

arl
Copy link
Owner

@arl arl commented Feb 18, 2023

Purpose

Having one workflow for CI and another for CD keep things nice and tidy, but CD would run even if CI failed.
Avoiding that while while keeping the files separate is either super hacky or doesn't work altogether.

Approach

So , we demote the workflows to jobs, and keep a single workflow file.

@arl arl linked an issue Feb 18, 2023 that may be closed by this pull request
@arl arl merged commit 4decaa8 into main Feb 18, 2023
@arl arl deleted the issue-84/cd-after-ci branch February 18, 2023 00:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] CD workflow runs even if CI fails
1 participant