From 2a556f258cd95b49e459f90a5cba6314e0866dd5 Mon Sep 17 00:00:00 2001
From: Bryan Richter <bryan@haskell.foundation>
Date: Thu, 13 Oct 2022 17:14:45 +0300
Subject: [PATCH] CI: Switch back to using 'dependencies'

Using 'needs' broke CI:
https://gitlab.haskell.org/ghc/head.hackage/-/pipelines/57782

'dependencies' doesn't care if the dependency exists or not, but 'needs'
does.
---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9bd19443..7f0d3c67 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -236,7 +236,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
 
-  needs:
+  dependencies:
     - build-master
 
   after_script:
@@ -254,7 +254,7 @@ pages:
   image: "nixos/nix:$DOCKER_TAG"
   script:
     - mv repo public
-  needs:
+  dependencies:
     - update-repo
   rules:
     - if: '$CI_COMMIT_BRANCH == "master"'
-- 
GitLab