Commit 9f5e49de authored by Ben Gamari's avatar Ben Gamari 🐢

Fix pages deployment

parent 97e756bb
Pipeline #8059 passed with stages
in 33 minutes and 47 seconds
......@@ -15,6 +15,7 @@
stages:
- test
- update-repo
- deploy
variables:
......@@ -94,7 +95,7 @@ build:
# Build and deploy a Hackage repository
update-repo:
stage: deploy
stage: update-repo
tags:
- x86_64-linux
......@@ -115,12 +116,26 @@ update-repo:
- nix-channel --update
- nix build -f scripts/build-repo.nix
- nix run -f scripts/build-repo.nix -c build-repo.sh build-repo
- mv repo public
after_script:
- rm -Rf keys
artifacts:
paths:
- public
- repo
pages:
stage: deploy
tags:
- x86_64-linux
- head.hackage
image: nixos/nix
script:
- mv repo public
dependencies:
- update-repo
only:
- master
artifacts:
paths:
- public
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment