[Git][ghc/ghc][wip/restrict-pages] gitlab-ci: Only deploy GitLab Pages in ghc/ghc>

Ben Gamari gitlab at gitlab.haskell.org
Mon Jun 22 19:49:07 UTC 2020



Ben Gamari pushed to branch wip/restrict-pages at Glasgow Haskell Compiler / GHC


Commits:
3c1c6a36 by Ben Gamari at 2020-06-22T15:48:59-04:00
gitlab-ci: Only deploy GitLab Pages in ghc/ghc>

The deployments are quite large and yet are currently only served for
the ghc/ghc> project.

- - - - -


1 changed file:

- .gitlab-ci.yml


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -1108,7 +1108,9 @@ pages:
       EOF
     - cp -f index.html public/doc
   rules:
-    - if: '$CI_COMMIT_BRANCH == "master"'
+    # N.B. only run this on ghc/ghc since the deployed pages are quite large
+    # and we only serve GitLab Pages for ghc/ghc.
+    - if: '$CI_COMMIT_BRANCH == "master" && $CI_PROJECT_NAMESPACE == "ghc"'
   artifacts:
     paths:
       - public



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3c1c6a367ce760fe13d07612dbe3d7e88dcf042e

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3c1c6a367ce760fe13d07612dbe3d7e88dcf042e
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200622/3fd6e709/attachment.html>


More information about the ghc-commits mailing list