diff options
author | Kaiden Fey <kookie@spacekookie.de> | 2020-09-21 14:12:32 +0200 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-09-21 14:12:32 +0200 |
commit | f80843dd45d7acd563d0a5b014cec3a2ea686fc2 (patch) | |
tree | 87189d873d6f932d85f9c1a480462b37d96cd6a5 /home-manager/.gitlab-ci.yml | |
parent | e0800985dab8f8ebb4cebdfd7e361fd1fafdb2a7 (diff) | |
parent | 9b1b55ba0264a55add4b7b4e022bdc2832b531f6 (diff) |
Merge commit '9b1b55ba0264a55add4b7b4e022bdc2832b531f6'
Diffstat (limited to 'home-manager/.gitlab-ci.yml')
-rw-r--r-- | home-manager/.gitlab-ci.yml | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/home-manager/.gitlab-ci.yml b/home-manager/.gitlab-ci.yml index f7c14abb69e..2c5c5a67ffe 100644 --- a/home-manager/.gitlab-ci.yml +++ b/home-manager/.gitlab-ci.yml @@ -1,8 +1,8 @@ image: nixos/nix:latest variables: - # Pinned 2020-01-01. - NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/b0bbacb52134a7e731e549f4c0a7a2a39ca6b481.tar.gz" + # Pinned 2020-03-28. + NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs/archive/05f0934825c2a0750d4888c4735f9420c906b388.tar.gz" stages: - test @@ -11,9 +11,10 @@ stages: Run tests: stage: test script: - - nix-shell tests -A run.files-text - only: - - master + - nix-shell --pure tests -A run.files-text + rules: + - if: $CI_COMMIT_BRANCH == "master" + when: always pages: stage: deploy @@ -26,8 +27,9 @@ pages: artifacts: paths: - public - only: - - master + rules: + - if: $CI_COMMIT_BRANCH == "master" + when: always Deploy NUR: stage: deploy @@ -37,5 +39,6 @@ Deploy NUR: trigger: project: rycee/nur-expressions branch: master - only: - - master + rules: + - if: $CI_COMMIT_BRANCH == "master" || $CI_COMMIT_BRANCH =~ /^release-/ + when: always |