diff options
| author | A Farzat <a@farzat.xyz> | 2026-03-10 07:56:26 +0300 |
|---|---|---|
| committer | A Farzat <a@farzat.xyz> | 2026-03-10 07:56:26 +0300 |
| commit | 7c98b3b57714b4a242e5ea962386922a04614885 (patch) | |
| tree | ff4f029320dcdec9512731e9eb50a9757b15f8da | |
| parent | ccc48a717a38d24cc455fc175f00b2a8202af608 (diff) | |
| download | oreilly-epub-7c98b3b57714b4a242e5ea962386922a04614885.tar.gz oreilly-epub-7c98b3b57714b4a242e5ea962386922a04614885.zip | |
Prevent accidental GitLab CI releases using 'when'
| -rw-r--r-- | .gitlab-ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7352eeb..8e36b39 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,6 +42,8 @@ release: # Only run on tags starting with "v". rules: - if: '$CI_COMMIT_TAG =~ /^v\d+\.\d+\.\d+$/' + when: on_success + - when: never script: # Install system linkers for musl & ARM64. - apt-get update |
