diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b5a8f5468..6095e829d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,15 +17,16 @@ stages: node dependencies: stage: setup script: - - nix build -o node-dependencies .#uniworxNodeDependencies + - nix -L build -o node-dependencies .#uniworxNodeDependencies before_script: + - install -m 0644 .gitlab-ci/nix-bootstrap.conf /etc/nix/nix.conf - nix-env -f '' -riA envsubst - envsubst -i .gitlab-ci/nix.conf -o /etc/nix/nix.conf - git config --global init.defaultBranch master - install -v -m 0700 -d ~/.ssh - - install -v -T -m 0644 ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts - - install -v -T -m 0400 ${SSH_DEPLOY_KEY} ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config; - - install -v -T -m 0644 ${FONTAWESOME_NPM_AUTH_FILE} /etc/fontawesome-token + - install -v -T -m 0644 "${SSH_KNOWN_HOSTS}" ~/.ssh/known_hosts + - install -v -T -m 0400 "${SSH_DEPLOY_KEY}" ~/.ssh/deploy && echo "IdentityFile ~/.ssh/deploy" >> ~/.ssh/config; + - install -v -T -m 0644 "${FONTAWESOME_NPM_AUTH_FILE}" /etc/fontawesome-token artifacts: paths: - node-dependencies