meta: run ci on non-master branches

This commit is contained in:
ptrcnull 2023-04-16 07:10:48 +02:00
parent 3848356000
commit 61e3492433
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA

View file

@ -1,7 +1,3 @@
workflow:
rules:
- if: $CI_COMMIT_BRANCH == "master"
build-x86_64: &build build-x86_64: &build
image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/x86_64:latest image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/x86_64:latest
cache: cache:
@ -22,9 +18,12 @@ build-x86_64: &build
--destdir $PWD/repodest --destdir $PWD/repodest
--purge --purge
ptrcports ptrcports
- rsync --archive --update --hard-links --delete --delete-after --delay-updates --no-o --no-g - |-
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/ buildozer@repo.ptrc.gay:repodest/
fi
build-aarch64: build-aarch64:
<<: *build <<: *build