From 61e349243319430ca7f16c3360fddbe3e531de82 Mon Sep 17 00:00:00 2001 From: ptrcnull Date: Sun, 16 Apr 2023 07:10:48 +0200 Subject: [PATCH] meta: run ci on non-master branches --- .gitlab-ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c7e32a3..3d7897e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,3 @@ -workflow: - rules: - - if: $CI_COMMIT_BRANCH == "master" - build-x86_64: &build image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/x86_64:latest cache: @@ -22,9 +18,12 @@ build-x86_64: &build --destdir $PWD/repodest --purge ptrcports - - rsync --archive --update --hard-links --delete --delete-after --delay-updates --no-o --no-g - repodest/ - buildozer@repo.ptrc.gay:repodest/ + - |- + if [ "$CI_COMMIT_BRANCH" = "master" ]; then + rsync --archive --update --hard-links --delete --delete-after --delay-updates --no-o --no-g \ + repodest/ \ + buildozer@repo.ptrc.gay:repodest/ + fi build-aarch64: <<: *build