From f983657aad3895e13fa6725e1dc7a374f7524f95 Mon Sep 17 00:00:00 2001 From: Bryan Richter <bryan@haskell.foundation> Date: Tue, 11 Oct 2022 15:04:50 +0300 Subject: [PATCH] CI: Upgrade dependencies to needs Run jobs greedily rather than relying on staging. https://docs.gitlab.com/ee/ci/yaml/#needs --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d260da6c..171c18b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -196,7 +196,7 @@ update-repo: - nix run -f ci/default.nix -c build-repo.sh extract-keys - nix run -f ci/default.nix -c build-repo.sh build-repo - dependencies: + needs: - build-master after_script: @@ -214,7 +214,7 @@ pages: image: "nixos/nix:$DOCKER_TAG" script: - mv repo public - dependencies: + needs: - update-repo rules: - if: '$CI_COMMIT_BRANCH == "master"' -- GitLab