[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 15:46:01 UTC 2020
Ben Gamari pushed to branch wip/restrict-pages at Glasgow Haskell Compiler / GHC
Commits:
f29a6e76 by Ben Gamari at 2020-06-22T11:45:31-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_NAMSPACE == "ghc"'
artifacts:
paths:
- public
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f29a6e76fee514fae46bc07e17ccbbb847e9e035
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/f29a6e76fee514fae46bc07e17ccbbb847e9e035
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/77b8f139/attachment.html>
More information about the ghc-commits
mailing list