Commit fa853cf5 authored by Pallav Agarwal's avatar Pallav Agarwal
Browse files

Fixed artifact paths.

parent 11756751
Pipeline #14810642 passed with stage
in 4 minutes and 58 seconds
......@@ -5,8 +5,11 @@ pages:
- apt-get install -y bash curl
- bash <(curl https://raw.githubusercontent.com/pallavagarwal07/NixCI/master/travis-tests/install-root.sh)
- su user -s /bin/bash -c 'set -e; cd $HOME; . $HOME/.nix-profile/etc/profile.d/nix.sh; nix-build -j20 . ; '
- mkdir public
- cp -r /home/user/result/public/* ./public
- chown -R root:root public/*
artifacts:
paths:
- /home/user/result/
- public
only:
- source
......@@ -25,7 +25,7 @@ pkgs.stdenv.mkDerivation {
bundle exec jekyll build
'';
installPhase = ''
rm -df $out
mv _site $out
mkdir -p $out
mv _site $out/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