Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Glasgow Haskell Compiler
head.hackage
Commits
9f5e49de
Commit
9f5e49de
authored
Jul 06, 2019
by
Ben Gamari
🐢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pages deployment
parent
97e756bb
Pipeline
#8059
passed with stages
in 33 minutes and 47 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
.gitlab-ci.yml
.gitlab-ci.yml
+18
-3
No files found.
.gitlab-ci.yml
View file @
9f5e49de
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment