Skip to content
Snippets Groups Projects
Commit 607d12f3 authored by Seblu's avatar Seblu
Browse files

Limit CI build to tagged commits

parent c8cfacfa
Branches
Tags
No related merge requests found
Pipeline #393 failed
---
workflow:
rules:
- if: '$CI_COMMIT_TAG'
makepkg:
stage: build
script:
......@@ -7,13 +12,9 @@ makepkg:
artifacts:
name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA
expire_in: 3 month
paths:
ths:
- config.x86_64
- "*.pkg.tar.*"
only:
- branches
- tags
- web
commitpkg:
stage: deploy
......@@ -26,6 +27,3 @@ commitpkg:
- sleep 300 && kill "$SSH_AGENT_PID" & disown
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
- seblu-push
only:
- tags
- web
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment