Commit ed0c5b36 authored by Jeff Huang's avatar Jeff Huang 🤔

do not build when MR

parent 77ba026a
......@@ -19,6 +19,9 @@ before_script:
build_pkgs:
stage: package
except:
- master
- merge_requests
script:
# setup makepkg settings (enable and sync the correct repository), as root
- _gitlab-ci-scripts/prepare_makepkg.sh
......@@ -43,6 +46,9 @@ build_pkgs:
sign_pkgs:
stage: sign
except:
- master
- merge_requests
script:
- for pkg in $(find . -type f | grep ".pkg.tar.xz"); do echo "signing $pkg" && echo "$GPG_PASSWORD" | gpg -sb --pinentry-mode loopback --passphrase-fd 0 $pkg; done
artifacts:
......@@ -57,6 +63,8 @@ sign_pkgs:
deploy_pkgs:
stage: deploy
except:
- master
variables:
DEPLOY_SERVER: "$DEPLOY_SERVER"
SSH_USER: "$SSH_USER"
......@@ -70,6 +78,8 @@ deploy_pkgs:
move_pkgs_to_stable:
stage: stable
except:
- master
variables:
DEPLOY_SERVER: "$DEPLOY_SERVER"
SSH_USER: "$SSH_USER"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment