diff options
author | Stefan Auditor | 2017-03-15 10:03:34 +0100 |
---|---|---|
committer | Stefan Auditor | 2017-03-15 10:03:34 +0100 |
commit | 4c214ff863e56bc8fc3f5b9456b3b21cb0f19050 (patch) | |
tree | 1efc5e92e8bf76cb0200877ea86315bb3b7009b4 | |
parent | fd42b310ea825f7dccc163c9d1954cc23d86ba7b (diff) | |
download | aur-4c214ff863e56bc8fc3f5b9456b3b21cb0f19050.tar.gz |
Make aur deployment manual
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b054fc4b6154..3c8044badc48 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,6 +32,7 @@ github: url: https://github.com/sanduhrs/arch-aur-traefik only: - branches + when: on_success aur: stage: deploy @@ -45,7 +46,7 @@ aur: # you will overwrite your user's SSH config. - mkdir -p ~/.ssh - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - - git checkout master + - git checkout "$CI_BUILD_REF_NAME" - git remote add aur ssh://aur@aur.archlinux.org/traefik-bin.git script: - echo "Deploy to Github" @@ -55,3 +56,4 @@ aur: url: https://aur.archlinux.org/packages/traefik-bin only: - master + when: manual |